[Wine-patches] [eterhack] gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL. (eterbug #8330)

Dmitry Timoshkov dtimoshkov на etersoft.ru
Ср Янв 23 11:25:26 MSK 2013


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

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index e5678a7..e287683 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -2274,10 +2274,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
 
     TRACE("(%p, %p, %p)\n", hdc, hDevice, graphics);
 
-    if(hDevice != NULL) {
+    if(hDevice != NULL)
         FIXME("Don't know how to handle parameter hDevice\n");
-        return NotImplemented;
-    }
 
     if(hdc == NULL)
         return OutOfMemory;
-- 
1.8.0.2



Подробная информация о списке рассылки Wine-patches