Commit 77928370 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Fixed tests of GetAcceptLanguagesA for win9x/ME.

parent e5203462
......@@ -108,7 +108,7 @@ static void test_GetAcceptLanguagesA(void)
"ERROR_PROC_NOT_FOUND(NT4)/ERROR_NO_IMPERSONATION_TOKEN(XP)\n", GetLastError());
ok(exactsize == strlen(buffer),
"buffer content (length) wrong: got %08x, expected %08lx \n", strlen(buffer), exactsize);
} else if((buffersize -1) == exactsize) {
} else if((buffersize +1) == buffersize2) {
ok(ERROR_SUCCESS == GetLastError(),
"last error wrong: got %08lx; expected ERROR_SUCCESS\n", GetLastError());
ok(buffersize == strlen(buffer),
......@@ -140,7 +140,7 @@ static void test_GetAcceptLanguagesA(void)
ok(ERROR_SUCCESS == GetLastError(),
"last error wrong: got %08lx; expected ERROR_SUCCESS\n", GetLastError());
if((buffersize == exactsize) /* XP */ ||
((buffersize -1)== exactsize) /* 98 */)
((buffersize +1)== exactsize) /* 98 */)
ok(buffersize == strlen(buffer),
"buffer content (length) wrong: got %08x, expected %08lx \n", strlen(buffer), buffersize);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment