Commit 7bf6a303 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdiplus: Return the correct result in GdipCreateFontFromLogfontA.

parent 73e23b82
......@@ -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);
}
/*******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment