Commit b27e814d authored by Josh Juran's avatar Josh Juran Committed by Alexandre Julliard

gdi32: Simplify logic in WineEngGetFontData().

parent 42207504
......@@ -6198,7 +6198,7 @@ DWORD WineEngGetFontData(GdiFont *font, DWORD table, DWORD offset, LPVOID buf,
if(!FT_IS_SFNT(ft_face))
return GDI_ERROR;
if(!buf || !cbData)
if(!buf)
len = 0;
else
len = cbData;
......
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