gdiplus: Return the correct result in GdipCreateFontFromLogfontA.

This commit is contained in:
Paul Vriens 2009-04-23 21:20:11 +02:00 committed by Alexandre Julliard
parent 73e23b823a
commit 7bf6a3030b
1 changed files with 1 additions and 3 deletions

View File

@ -224,9 +224,7 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC hdc,
if(!MultiByteToWideChar(CP_ACP, 0, lfa->lfFaceName, -1, lfw.lfFaceName, LF_FACESIZE))
return GenericError;
GdipCreateFontFromLogfontW(hdc, &lfw, font);
return Ok;
return GdipCreateFontFromLogfontW(hdc, &lfw, font);
}
/*******************************************************************************