shellexecute patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xs4all.nl
--- 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 );
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux