mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[GDI32]
- comply with MSDN and stop enumerating font families as soon as the user provided callback returns zero - fixes bunch of user32:sysparams tests which rely on this svn path=/trunk/; revision=73032
This commit is contained in:
parent
263afc07c3
commit
fe5595d60d
1 changed files with 3 additions and 0 deletions
|
@ -278,6 +278,9 @@ IntEnumFontFamilies(HDC Dc, LPLOGFONTW LogFont, PVOID EnumProc, LPARAM lParam,
|
|||
(VOID*)&NewTextMetricExA,
|
||||
Info[i].FontType, lParam);
|
||||
}
|
||||
|
||||
if(Ret == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
RtlFreeHeap(GetProcessHeap(), 0, Info);
|
||||
|
|
Loading…
Reference in a new issue