Dmitry Timoshkov : gdiplus: Use symbolic name of the font style.
Alexandre Julliard
julliard at winehq.org
Tue Apr 24 13:14:42 CDT 2012
Module: wine
Branch: master
Commit: 1e12570d72ae1c913550a157c9a9db8af785b18b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e12570d72ae1c913550a157c9a9db8af785b18b
Author: Dmitry Timoshkov <dmitry at 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;
More information about the wine-cvs
mailing list