gdiplus: Use symbolic name of the font style.
Nikolay Sivov
bunglehead at gmail.com
Mon Apr 23 10:31:46 CDT 2012
On 4/23/2012 17:31, Dmitry Timoshkov wrote:
> ---
> 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 169e28f..8157b0a 100644
> --- a/dlls/gdiplus/font.c
> +++ b/dlls/gdiplus/font.c
> @@ -767,7 +767,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;
>
Maybe it's better to make it 'enum FontStyle' after all.
More information about the wine-devel
mailing list