From: André Zwing nerv@dawncrow.de
--- dlls/msvcp120/tests/msvcp120.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcp120/tests/msvcp120.c b/dlls/msvcp120/tests/msvcp120.c index 1fe411483d2..b3dbacd082a 100644 --- a/dlls/msvcp120/tests/msvcp120.c +++ b/dlls/msvcp120/tests/msvcp120.c @@ -3374,7 +3374,7 @@ static void test_data_exports(void)
static void test__Fiopen(void) { - int i; + int i, ret; FILE *f; wchar_t wpath[MAX_PATH]; static const struct { @@ -3395,8 +3395,8 @@ static void test__Fiopen(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__Fiopen(tests[i].path, OPENMODE_out, SH_DENYNO);