gdiplus: Use symbolic name of the font style.

This commit is contained in:
Dmitry Timoshkov 2012-04-23 23:31:59 +09:00 committed by Alexandre Julliard
parent 5476c0e2b9
commit 1e12570d72
1 changed files with 1 additions and 1 deletions

View File

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