kernel32/tests: Fix the argument order in some console font tests
Hugh McMaster
hugh.mcmaster at outlook.com
Sat Nov 28 22:21:35 CST 2015
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
dlls/kernel32/tests/console.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel32/tests/console.c b/dlls/kernel32/tests/console.c
index 240d9d8..f21baa7 100644
--- a/dlls/kernel32/tests/console.c
+++ b/dlls/kernel32/tests/console.c
@@ -2622,9 +2622,9 @@ static void test_GetCurrentConsoleFont(HANDLE std_output)
height = csbi.srWindow.Bottom - csbi.srWindow.Top + 1;
c = GetConsoleFontSize(std_output, cfi.nFont);
ok(cfi.dwFontSize.X == width || cfi.dwFontSize.X == c.X /* Vista and higher */,
- "got %d, expected %d\n", cfi.dwFontSize.X, width);
+ "got %d, expected %d\n", width, cfi.dwFontSize.X);
ok(cfi.dwFontSize.Y == height || cfi.dwFontSize.Y == c.Y /* Vista and higher */,
- "got %d, expected %d\n", cfi.dwFontSize.Y, height);
+ "got %d, expected %d\n", height, cfi.dwFontSize.Y);
}
static void test_GetConsoleFontSize(HANDLE std_output)
@@ -2661,8 +2661,8 @@ static void test_GetConsoleFontSize(HANDLE std_output)
GetConsoleScreenBufferInfo(std_output, &csbi);
font_width = (r.right - r.left + 1) / csbi.srWindow.Right;
font_height = (r.bottom - r.top + 1) / csbi.srWindow.Bottom;
- ok(c.X == font_width, "got %d, expected %d\n", c.X, font_width);
- ok(c.Y == font_height, "got %d, expected %d\n", c.Y, font_height);
+ ok(c.X == font_width, "got %d, expected %d\n", font_width, c.X);
+ ok(c.Y == font_height, "got %d, expected %d\n", font_height, c.Y);
hmod = GetModuleHandleA("kernel32.dll");
pGetNumberOfConsoleFonts = (void *)GetProcAddress(hmod, "GetNumberOfConsoleFonts");
--
1.9.1
More information about the wine-patches
mailing list