James Hawkins : msi: Allow checking a REG_MULTI_SZ string.

Alexandre Julliard julliard at winehq.org
Tue Jun 24 06:45:51 CDT 2008


Module: wine
Branch: master
Commit: c7ab4fad085b972616d541d63e3fe5a392d0527a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c7ab4fad085b972616d541d63e3fe5a392d0527a

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Jun 23 23:01:08 2008 -0500

msi: Allow checking a REG_MULTI_SZ string.

---

 dlls/msi/tests/install.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 235a49a..581c50e 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -2154,7 +2154,8 @@ static void check_reg_str(HKEY prodkey, LPCSTR name, LPCSTR expected, BOOL bcase
     val[0] = '\0';
     res = RegQueryValueExA(prodkey, name, NULL, &type, (LPBYTE)val, &size);
 
-    if (res != ERROR_SUCCESS || (type != REG_SZ && type != REG_EXPAND_SZ))
+    if (res != ERROR_SUCCESS ||
+        (type != REG_SZ && type != REG_EXPAND_SZ && type != REG_MULTI_SZ))
     {
         ok_(__FILE__, line)(FALSE, "Key doesn't exist or wrong type\n");
         return;




More information about the wine-cvs mailing list