From c83b4e230c8621d99236d120713a480a7f54da04 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 23 Jan 2009 13:14:05 +0100 Subject: [PATCH] user32/tests: Don't try to do hook tests if we can't set hooks. --- dlls/user32/tests/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 19c89ade726..a3d162779e2 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -11380,7 +11380,7 @@ START_TEST(msg) test_accelerators(); test_timers(); test_timers_no_wnd(); - test_set_hook(); + if (hCBT_hook) test_set_hook(); test_DestroyWindow(); test_DispatchMessage(); test_SendMessageTimeout();