gdiplus: Use symbolic name of the font style.
This commit is contained in:
parent
5476c0e2b9
commit
1e12570d72
|
@ -779,7 +779,7 @@ GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily *family,
|
||||||
static INT CALLBACK font_has_style_proc(const LOGFONTW *elf,
|
static INT CALLBACK font_has_style_proc(const LOGFONTW *elf,
|
||||||
const TEXTMETRICW *ntm, DWORD type, LPARAM lParam)
|
const TEXTMETRICW *ntm, DWORD type, LPARAM lParam)
|
||||||
{
|
{
|
||||||
INT fontstyle=0;
|
INT fontstyle = FontStyleRegular;
|
||||||
|
|
||||||
if (!ntm) return 1;
|
if (!ntm) return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue