mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
gdi32: Simplify logic in WineEngGetFontData().
This commit is contained in:
parent
42207504a2
commit
b27e814de6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user