Evan Teran : shell32: Fix typo in GlobalAlloc parameters.

Alexandre Julliard julliard at winehq.org
Thu Oct 18 07:59:40 CDT 2007


Module: wine
Branch: master
Commit: 6b3c0ecf2e968621ff6b21b4fa8d11d55187cbb5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6b3c0ecf2e968621ff6b21b4fa8d11d55187cbb5

Author: Evan Teran <evan.teran at gmail.com>
Date:   Thu Oct 18 02:12:34 2007 -0400

shell32: Fix typo in GlobalAlloc parameters.

---

 dlls/shell32/shell32_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index b974f8d..63f81f3 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -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 (;;)
         {




More information about the wine-cvs mailing list