gdiplus: Accept version 2 in GdiplusStartup.

This commit is contained in:
Vincent Povirk 2009-09-18 15:54:51 -05:00 committed by Alexandre Julliard
parent ed059e1175
commit e261568652
1 changed files with 1 additions and 1 deletions

View File

@ -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){