[PATCH 3/5] dwrite: Silence HasVariations() fixme.

Nikolay Sivov nsivov at codeweavers.com
Wed Jun 10 09:21:31 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dwrite/font.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 2d7a97594fc..d8d892c9ef1 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -1545,7 +1545,10 @@ static HRESULT WINAPI dwritefontface5_GetFontAxisValues(IDWriteFontFace5 *iface,
 
 static BOOL WINAPI dwritefontface5_HasVariations(IDWriteFontFace5 *iface)
 {
-    FIXME("%p: stub\n", iface);
+    static int once;
+
+    if (!once++)
+        FIXME("%p: stub\n", iface);
 
     return FALSE;
 }
-- 
2.26.2




More information about the wine-devel mailing list