msi: MsiGetProductInfo fix

Aric Stewart aric at codeweavers.com
Mon Jun 13 10:07:44 CDT 2005


a "1" is return not a 1 for AssignementType
also as a bit more to the FIXME message

-------------- next part --------------
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.87
diff -u -r1.87 msi.c
--- dlls/msi/msi.c	8 Jun 2005 18:35:43 -0000	1.87
+++ dlls/msi/msi.c	13 Jun 2005 15:06:08 -0000
@@ -574,9 +574,12 @@
     }
     else if (strcmpW(szAttribute, szAssignmentType)==0)
     {
-        FIXME("0 (zero) if advertised, 1(one) if per machine.\n");
+        FIXME("0 (zero) if advertised or per user , 1(one) if per machine.\n");
         if (szBuffer)
-            szBuffer[0] = 1;
+        {
+            szBuffer[0] = '1';
+            szBuffer[1] = 0;
+        }
         if (pcchValueBuf)
             *pcchValueBuf = 1;
         r = ERROR_SUCCESS;


More information about the wine-patches mailing list