Module: wine Branch: master Commit: 4d31a25f504828954b2f5d96fd69bb534e17231b URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d31a25f504828954b2f5d96fd...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Jul 1 12:14:40 2009 +0200
gdiplus: Don't return garbage from the GdipCreateHBITMAPFromBitmap stub.
---
dlls/gdiplus/image.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 6df104e..a603adb 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -449,7 +449,7 @@ GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(GpBitmap* bitmap, { FIXME("stub\n");
- hbmReturn = NULL; + if (hbmReturn) *hbmReturn = NULL;
return NotImplemented; }