shell32: Fix typo in GlobalAlloc parameters.
This commit is contained in:
parent
d5b620ea0b
commit
6b3c0ecf2e
|
@ -97,7 +97,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
|
|||
/* Return the path to the executable */
|
||||
DWORD len, size=16;
|
||||
|
||||
hargv=GlobalAlloc(size, 0);
|
||||
hargv=GlobalAlloc(0, size);
|
||||
argv=GlobalLock(hargv);
|
||||
for (;;)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue