msi: blank data should be blank

Aric Stewart aric at codeweavers.com
Tue Jul 12 11:18:19 CDT 2005


Further testing shows that when CustomActionData needs to be blank it is 
an empty string not ' '
-------------- next part --------------
Index: dlls/msi/custom.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/custom.c,v
retrieving revision 1.17
diff -u -r1.17 custom.c
--- dlls/msi/custom.c	30 Jun 2005 20:45:43 -0000	1.17
+++ dlls/msi/custom.c	12 Jul 2005 16:16:44 -0000
@@ -182,7 +182,7 @@
 
             static const WCHAR szActionData[] = {
             'C','u','s','t','o','m','A','c','t','i','o','n','D','a','t','a',0};
-            static const WCHAR szBlank[] = {' ',0};
+            static const WCHAR szBlank[] = {0};
             LPWSTR actiondata = load_dynamic_property(package,action,NULL);
             if (actiondata)
                 MSI_SetPropertyW(package,szActionData,actiondata);


More information about the wine-patches mailing list