[PATCH 5/7] Use win_skip() while skipping subclass tests

Nikolay Sivov bunglehead at gmail.com
Mon Dec 21 16:57:20 CST 2009


---
 dlls/comctl32/tests/subclass.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tests/subclass.c b/dlls/comctl32/tests/subclass.c
index f4d0b72..f5a74ba 100644
--- a/dlls/comctl32/tests/subclass.c
+++ b/dlls/comctl32/tests/subclass.c
@@ -293,7 +293,10 @@ START_TEST(subclass)
     pDefSubclassProc = (void*)GetProcAddress(hdll, (LPSTR)413);
     
     if(!pSetWindowSubclass || !pRemoveWindowSubclass || !pDefSubclassProc)
+    {
+        win_skip("SetWindowSubclass and friends are not available\n");
         return;
+    }
 
     if(!RegisterWindowClasses()) assert(0);
 
-- 
1.5.6.5


--=-G03gyzfDhNmjguehiGIg--




More information about the wine-patches mailing list