shellexecute patch
Rein Klazes
rklazes at xs4all.nl
Thu Feb 14 04:57:55 CST 2002
Needed for Visual Studio.NET installer.
Changelog:
dlls/shell32 : shell.c
In ShellExecute16, make sure there is a space between command
and parameters.
Rein.
--
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/shell32/shell.c Fri Feb 1 08:28:07 2002
+++ mywine/dlls/shell32/shell.c Thu Feb 14 10:15:21 2002
@@ -358,7 +358,10 @@
/* First try to execute lpFile with lpParameters directly */
strcpy(cmd,lpFile);
- strcat(cmd,lpParameters ? lpParameters : "");
+ if (lpParameters) {
+ strcat(cmd, " " );
+ strcat(cmd,lpParameters );
+ }
retval = WinExec16( cmd, iShowCmd );
More information about the wine-patches
mailing list