mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 21:56:40 +00:00
Author: Evan Teran <evan.teran@gmail.com>
- Fix typo in GlobalAlloc parameters. svn path=/trunk/; revision=29678
This commit is contained in:
parent
50fa98a4ca
commit
ec0138f98f
|
@ -97,7 +97,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
|
||||||
/* Return the path to the executable */
|
/* Return the path to the executable */
|
||||||
DWORD len, size=16;
|
DWORD len, size=16;
|
||||||
|
|
||||||
hargv=GlobalAlloc(size, 0);
|
hargv=GlobalAlloc(0, size);
|
||||||
argv=GlobalLock(hargv);
|
argv=GlobalLock(hargv);
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue