gdi32/tests: make sure to use return value (LLVM/Clang)
Austin English
austinenglish at gmail.com
Tue Feb 8 18:06:02 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c
index 9fe6f43..4b061f9 100644
--- a/dlls/gdi32/tests/path.c
+++ b/dlls/gdi32/tests/path.c
@@ -89,6 +89,7 @@ static void test_widenpath(void)
Polyline(hdc, pnt, 6);
EndPath(hdc);
ret = WidenPath(hdc);
+ ok(ret == TRUE, "WidenPath failed: %d", GetLastError());
nSize = GetPath(hdc, NULL, NULL, 0);
ok(nSize > 6, "WidenPath should compute a widdened path with a 1px wide pen. Path length is %d, should be more than 6\n", nSize);
More information about the wine-patches
mailing list