Alexandre Julliard : user32/tests: Don't try to do hook tests if we can' t set hooks.
Alexandre Julliard
julliard at winehq.org
Fri Jan 23 10:06:53 CST 2009
Module: wine
Branch: master
Commit: c83b4e230c8621d99236d120713a480a7f54da04
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c83b4e230c8621d99236d120713a480a7f54da04
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jan 23 13:14:05 2009 +0100
user32/tests: Don't try to do hook tests if we can't set hooks.
---
dlls/user32/tests/msg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 19c89ad..a3d1627 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();
More information about the wine-cvs
mailing list