Commit 01ac8df2 authored by Alberto Massari's avatar Alberto Massari Committed by Alexandre Julliard

Fix crash when invoked with no arguments.

parent dc71624d
......@@ -17,8 +17,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This version deliberately differs in error handling compared to the
* windows version.
*/
/*
......@@ -80,6 +78,8 @@ int main(int argc, char* argv[])
EntryPointA pfEntryPointA;
HMODULE DllHandle=NULL;
if(argc<2)
return 0;
comma=strchr(argv[1],',');
if(comma==NULL)
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment