gdiplus/tests: Actually test a GdipCreateFromHDC call (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Fri Jan 16 05:13:03 CST 2015


---
 dlls/gdiplus/tests/graphics.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index c9cc463..8ce372b 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -3769,6 +3769,7 @@ static void test_font_height_scaling(void)
 
     hdc = CreateCompatibleDC(0);
     status = GdipCreateFromHDC(hdc, &graphics);
+    expect(Ok, status);
 
     status = GdipGetDpiY(graphics, &dpi);
     expect(Ok, status);
-- 
1.9.3



More information about the wine-patches mailing list