MSI: include the trailing bash on the WindowsVolume

Mike McCormack mike at codeweavers.com
Wed Dec 22 04:00:16 CST 2004


ChangeLog:
<aric at codeweavers.com>
* include the trailing bash on the WindowsVolume
-------------- next part --------------
Binary files dlls/msi.old/msi.dll.so and dlls/msi/msi.dll.so differ
diff -ur dlls/msi.old/package.c dlls/msi/package.c
--- dlls/msi.old/package.c	2004-12-22 18:58:06.000000000 +0900
+++ dlls/msi/package.c	2004-12-22 18:58:51.000000000 +0900
@@ -338,7 +338,7 @@
     SHGetFolderPathW(NULL,CSIDL_WINDOWS,NULL,0,pth);
     ptr = strchrW(pth,'\\');
     if (ptr)
-	*ptr = 0;
+	*(ptr+1) = 0;
     MSI_SetPropertyW(package, WV, pth);
     
     GetTempPathW(MAX_PATH,pth);


More information about the wine-patches mailing list