Module: wine Branch: master Commit: 85fbdfcc9e72fb1e9aa5957036cfad1151cf3394 URL: http://source.winehq.org/git/wine.git/?a=commit;h=85fbdfcc9e72fb1e9aa5957036...
Author: Rob Shearman rob@codeweavers.com Date: Sat Feb 16 15:36:40 2008 +0000
msi: Fix the character count passed into RegSetValueExA in test_MsiQueryFeatureState.
---
dlls/msi/tests/msi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index 6c4a057..2bf1b67 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -643,7 +643,7 @@ static void test_MsiQueryFeatureState(void) state = MsiQueryFeatureStateA(prodcode, "feature"); ok(state == INSTALLSTATE_UNKNOWN, "Expected INSTALLSTATE_UNKNOWN, got %d\n", state);
- res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 8); + res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 2); ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
state = MsiQueryFeatureStateA(prodcode, "feature");