Space is valid between module name and entry point.

This commit is contained in:
Detlef Riekenberg 2005-07-14 12:34:04 +00:00 committed by Alexandre Julliard
parent 3be8cb8b02
commit edc061333f
1 changed files with 4 additions and 2 deletions

View File

@ -244,8 +244,10 @@ int main(int argc, char* argv[])
if (!szDllName || *szDllName==0)
goto CLEANUP;
WINE_TRACE("DllName=%s\n",wine_dbgstr_w(szDllName));
if (!(szEntryPoint = strchrW( szDllName, ',' ))) goto CLEANUP;
*szEntryPoint++=0;
if ((szEntryPoint = strchrW(szDllName, ',' )))
*szEntryPoint++=0;
else
szEntryPoint = GetNextArg(&szCmdLine);
WINE_TRACE("EntryPoint=%s\n",wine_dbgstr_w(szEntryPoint));
/* Load the library */