diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index eab82849aaf..8e61abaf5b4 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -779,7 +779,7 @@ GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily *family, static INT CALLBACK font_has_style_proc(const LOGFONTW *elf, const TEXTMETRICW *ntm, DWORD type, LPARAM lParam) { - INT fontstyle=0; + INT fontstyle = FontStyleRegular; if (!ntm) return 1;