dlls/shell32/shlexec.c (reminder)

Ge van Geldorp gvg at reactos.org
Sat Nov 26 07:47:30 CST 2005


Previously submitted: http://www.winehq.org/pipermail/wine-patches/2005-November/022259.html

Changelog:
  Ge van Geldorp <gvg at reactos.org>
  - Other code in shlexec.c (e.g. the extension handling code in
    ShellExecute_GetClassKey) expects sei->lpFile to not be enclosed in quotes

Index: dlls/shell32/shlexec.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shlexec.c,v
retrieving revision 1.76
diff -u -r1.76 shlexec.c
--- dlls/shell32/shlexec.c	11 Nov 2005 10:54:07 -0000	1.76
+++ dlls/shell32/shlexec.c	26 Nov 2005 13:44:16 -0000
@@ -1266,9 +1266,7 @@
 		return TRUE;
 	}
 
-        wszApplicationName[0] = '"';
-        SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName+1);
-        strcatW(wszApplicationName, wQuote);
+        SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName);
         TRACE("-- idlist=%p (%s)\n", sei_tmp.lpIDList, debugstr_w(wszApplicationName));
     }
 



More information about the wine-patches mailing list