gdi32: Simplify logic in WineEngGetFontData().

This commit is contained in:
Josh Juran 2011-09-09 14:19:12 -07:00 committed by Alexandre Julliard
parent 42207504a2
commit b27e814de6

View File

@ -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;