Commit e1f35366 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix IsColorFont() return type for IDWriteFont2.

parent 93d24de3
...@@ -1405,7 +1405,7 @@ static BOOL WINAPI dwritefont1_IsMonospacedFont(IDWriteFont2 *iface) ...@@ -1405,7 +1405,7 @@ static BOOL WINAPI dwritefont1_IsMonospacedFont(IDWriteFont2 *iface)
return IDWriteFontFace2_IsMonospacedFont(fontface); return IDWriteFontFace2_IsMonospacedFont(fontface);
} }
static HRESULT WINAPI dwritefont2_IsColorFont(IDWriteFont2 *iface) static BOOL WINAPI dwritefont2_IsColorFont(IDWriteFont2 *iface)
{ {
struct dwrite_font *This = impl_from_IDWriteFont2(iface); struct dwrite_font *This = impl_from_IDWriteFont2(iface);
IDWriteFontFace2 *fontface; IDWriteFontFace2 *fontface;
...@@ -1415,7 +1415,7 @@ static HRESULT WINAPI dwritefont2_IsColorFont(IDWriteFont2 *iface) ...@@ -1415,7 +1415,7 @@ static HRESULT WINAPI dwritefont2_IsColorFont(IDWriteFont2 *iface)
hr = get_fontface_from_font(This, &fontface); hr = get_fontface_from_font(This, &fontface);
if (FAILED(hr)) if (FAILED(hr))
return hr; return FALSE;
return IDWriteFontFace2_IsColorFont(fontface); return IDWriteFontFace2_IsColorFont(fontface);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment