shlwapi/tests: Pass the correct buffer size to PathUnExpandEnvStringsW().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3851d97e99
commit
f2f52bcb28
|
@ -1595,7 +1595,7 @@ static void test_PathUnExpandEnvStrings(void)
|
|||
buffW[0] = 0;
|
||||
lstrcpyW(pathW, sysdrvW);
|
||||
lstrcatW(pathW, sysdrvW);
|
||||
ret = pPathUnExpandEnvStringsW(pathW, buffW, sizeof(buff)/sizeof(WCHAR));
|
||||
ret = pPathUnExpandEnvStringsW(pathW, buffW, ARRAY_SIZE(buffW));
|
||||
ok(ret, "got %d\n", ret);
|
||||
/* expected string */
|
||||
lstrcpyW(pathW, sysdriveW);
|
||||
|
|
Loading…
Reference in New Issue