Module: wine Branch: master Commit: e2615686529d335b07ade552d4c4cdfa32c06ba3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2615686529d335b07ade552d4...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Sep 18 15:54:51 2009 -0500
gdiplus: Accept version 2 in GdiplusStartup.
---
dlls/gdiplus/gdiplus.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.c b/dlls/gdiplus/gdiplus.c index 3c13a28..0effc71 100644 --- a/dlls/gdiplus/gdiplus.c +++ b/dlls/gdiplus/gdiplus.c @@ -86,7 +86,7 @@ Status WINAPI GdiplusStartup(ULONG_PTR *token, const struct GdiplusStartupInput input->DebugEventCallback, input->SuppressBackgroundThread, input->SuppressExternalCodecs);
- if(input->GdiplusVersion != 1) + if(input->GdiplusVersion < 1 || input->GdiplusVersion > 2) return UnsupportedGdiplusVersion;
if(input->SuppressBackgroundThread){