From: André Zwing nerv@dawncrow.de
--- dlls/msvcr120/tests/msvcr120.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcr120/tests/msvcr120.c b/dlls/msvcr120/tests/msvcr120.c index e4a67d5c6db..9ee2890d8e6 100644 --- a/dlls/msvcr120/tests/msvcr120.c +++ b/dlls/msvcr120/tests/msvcr120.c @@ -1837,7 +1837,7 @@ static void test_gmtime64(void)
static void test__fsopen(void) { - int i; + int i, ret; FILE *f; wchar_t wpath[MAX_PATH]; static const struct { @@ -1858,8 +1858,8 @@ static void test__fsopen(void) }
memset(wpath, 0, sizeof(wpath)); - ok(MultiByteToWideChar(CP_ACP, 0, tests[i].path, -1, wpath, MAX_PATH), - "MultiByteToWideChar failed on %s with locale %s: %lx\n", + ret = MultiByteToWideChar(CP_ACP, 0, tests[i].path, -1, wpath, MAX_PATH); + ok(ret, "MultiByteToWideChar failed on %s with locale %s: %lx\n", tests[i].path, tests[i].loc, GetLastError());
f = p__fsopen(tests[i].path, "w", SH_DENYNO);