From 1e12570d72ae1c913550a157c9a9db8af785b18b Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 23 Apr 2012 23:31:59 +0900 Subject: [PATCH] gdiplus: Use symbolic name of the font style. --- dlls/gdiplus/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;