From 39a4b5fa94269441552ad724d789e432767646cb Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 7 Feb 2012 11:18:15 +0800 Subject: [PATCH] user32: Fix a couple of typos. --- dlls/user32/tests/win.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 7d753f7841e..34f13ce4476 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -6957,10 +6957,10 @@ static int window_to_index(HWND hwnd, HWND *window, int size) static void test_child_window_from_point(void) { - static int real_child_pos[] = { 14,15,16,17,18,19,20,21,24,25,26,27,42,43, - 44,45,46,47,48,49,52,53,54,55,51,50,23,22,-1 }; - static int real_child_pos_nt4[] = { 14,15,16,17,20,21,24,25,26,27,42,43,44,45, - 48,49,52,53,54,55,51,50,47,46,23,22,19,18,-1 }; + static const int real_child_pos[] = { 14,15,16,17,18,19,20,21,24,25,26,27,42,43, + 44,45,46,47,48,49,52,53,54,55,51,50,23,22,-1 }; + static const int real_child_pos_nt4[] = { 14,15,16,17,20,21,24,25,26,27,42,43,44,45, + 48,49,52,53,54,55,51,50,47,46,23,22,19,18,-1 }; WNDCLASSA cls; HWND hwnd, parent, window[100]; POINT pt; @@ -7042,9 +7042,9 @@ static void test_child_window_from_point(void) ok(found_disabled, "found %d disabled windows\n", found_disabled); todo_wine ok(found_groupbox == 4, "found %d groupbox windows\n", found_groupbox); - ok(found_httransparent, "found %d found_httransparent windows\n", found_httransparent); + ok(found_httransparent, "found %d httransparent windows\n", found_httransparent); todo_wine - ok(found_extransparent, "found %d found_extransparent windows\n", found_extransparent); + ok(found_extransparent, "found %d extransparent windows\n", found_extransparent); ret = UnregisterClass("my_button", cls.hInstance); ok(ret, "UnregisterClass(my_button) failed\n"); -- 2.11.4.GIT