From 31695b54c97852b34c69edebbf9fbb74463ead2f Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 13 Jun 2005 19:04:39 +0000 Subject: [PATCH] A "1" is returned not a 1 for AssignmentType. Also as a bit more to the FIXME message. --- dlls/msi/msi.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 90fa1219a8c..bec3ccbf05a 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -574,9 +574,12 @@ UINT WINAPI MsiGetProductInfoW(LPCWSTR szProduct, LPCWSTR szAttribute, } 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;