[PATCH 0/1] MR8296: msi/tests: Fix wrong character count for RegSetValueExA.
From: Yuxuan Shui <yshui(a)codeweavers.com> --- dlls/msi/tests/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index c98293507e2..191f8fca292 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -1615,7 +1615,7 @@ static void test_MsiQueryFeatureState(void) ok(state == INSTALLSTATE_UNKNOWN, "Expected INSTALLSTATE_UNKNOWN, got %d\n", state); ok(error == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %lu\n", error); - res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 2); + res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 1); ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %ld\n", res); /* feature value exists */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8296
participants (2)
-
Yuxuan Shui -
Yuxuan Shui (@yshui)