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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 16 14:12:30 CST 2015


Module: wine
Branch: master
Commit: 0c91032f3a232e0cb2ae53fd68729fe1ec6aaad2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0c91032f3a232e0cb2ae53fd68729fe1ec6aaad2

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Jan 16 12:13:03 2015 +0100

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

---

 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);




More information about the wine-cvs mailing list