Dmitry Timoshkov : gdiplus: Use symbolic name of the font style.
Module: wine Branch: master Commit: 1e12570d72ae1c913550a157c9a9db8af785b18b URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e12570d72ae1c913550a157c9... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Mon Apr 23 23:31:59 2012 +0900 gdiplus: Use symbolic name of the font style. --- dlls/gdiplus/font.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index eab8284..8e61aba 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;
participants (1)
-
Alexandre Julliard