comctl32/tests: make sure to use a return value (LLVM/Clang) (5/6)

Austin English austinenglish at gmail.com
Wed Feb 16 20:21:09 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/comctl32/tests/trackbar.c b/dlls/comctl32/tests/trackbar.c
index ac67d50..8eaedf4 100644
--- a/dlls/comctl32/tests/trackbar.c
+++ b/dlls/comctl32/tests/trackbar.c
@@ -527,6 +527,7 @@ static void test_line_size(HWND hWndTrackbar){
 
     /* test TBM_SETLINESIZE */
     r = SendMessage(hWndTrackbar, TBM_SETLINESIZE, 0, 10);
+    expect(1,r);
     r = SendMessage(hWndTrackbar, TBM_SETLINESIZE, 0, 4);
     expect(10, r);
 


More information about the wine-patches mailing list