[Wine-patches] Fwd: Fwd: [eter-2.1 3/5] gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL. (eterbug #8330)

Roman Dadkov romand на etersoft.ru
Пт Янв 25 15:19:22 MSK 2013



-------- Исходное сообщение --------
Тема: [Wine-patches] Fwd:  [eter-2.1 3/5] gdiplus: Make 
GdipCreateFromHDC2 not fail in case of hDevice != NULL. (eterbug #8330)
Дата: 25.01.2013 15:03
От: Roman Dadkov <romand на etersoft.ru>
Кому: <wine-patches на lists.etersoft.ru>
Ответить: wine-devel на lists.etersoft.ru



-------- Исходное сообщение --------
Тема: [Wine-patches] [eter-2.1 3/5] gdiplus: Make GdipCreateFromHDC2 
not fail in case of hDevice != NULL. (eterbug #8330)
Дата: 25.01.2013 09:49
От: Dmitry Timoshkov <dtimoshkov на etersoft.ru>
Кому: wine-patches на lists.etersoft.ru
Ответить: wine-devel на lists.etersoft.ru

(cherry picked from commit 9532de882f830b9f10c8621bba5a3642a2f9d647)
---
  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 mailing list
Wine-patches на lists.etersoft.ru
http://lists.etersoft.ru/mailman/listinfo/wine-patches

_______________________________________________
Wine-patches mailing list
Wine-patches на lists.etersoft.ru
http://lists.etersoft.ru/mailman/listinfo/wine-patches



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