msi: source one off error correction
Aric Stewart
aric at codeweavers.com
Mon Jul 11 10:01:57 CDT 2005
correct an error where i was not properly advancing a pointer.
-------------- next part --------------
Index: dlls/msi/source.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/source.c,v
retrieving revision 1.2
diff -u -r1.2 source.c
--- dlls/msi/source.c 11 Jul 2005 13:22:24 -0000 1.2
+++ dlls/msi/source.c 11 Jul 2005 15:01:06 -0000
@@ -225,6 +225,7 @@
rc = RegQueryValueExW(sourcekey, INSTALLPROPERTY_LASTUSEDSOURCEstringW,
0, 0, (LPBYTE)buffer,&size);
ptr = strchrW(buffer,';');
+ ptr ++;
ptr = strchrW(ptr,';');
if (!ptr)
rc = ERROR_UNKNOWN_PROPERTY;
More information about the wine-patches
mailing list