MSI: make sure to include trailing backslash in path

Mike McCormack mike at codeweavers.com
Wed Dec 22 19:31:08 CST 2004


ChangeLog:
* make sure to include trailing backslash in path
-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.46
diff -u -r1.46 action.c
--- dlls/msi/action.c	22 Dec 2004 18:46:17 -0000	1.46
+++ dlls/msi/action.c	23 Dec 2004 01:30:07 -0000
@@ -2189,7 +2189,7 @@
                 {
                     p = strrchrW(path,'\\');
                     if (p)
-                        *p++ = 0;
+                        *(p+1) = 0;
                 }
             }
             if (folder)


More information about the wine-patches mailing list