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

Nikolay Sivov nsivov at codeweavers.com
Thu Mar 4 09:39:36 CST 2021


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

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 98c194b8c30..b0b8e3c34f4 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -7212,7 +7212,13 @@ static HRESULT WINAPI dwritefontset_GetPropertyValues_(IDWriteFontSet3 *iface, D
 static HRESULT WINAPI dwritefontset_GetPropertyValues(IDWriteFontSet3 *iface, UINT32 index, DWRITE_FONT_PROPERTY_ID id,
         BOOL *exists, IDWriteLocalizedStrings **values)
 {
-    FIXME("%p, %u, %d, %p, %p.\n", iface, index, id, exists, values);
+    static int once;
+
+    if (!once++)
+        FIXME("%p: stub\n", iface);
+
+    if (!once++)
+        FIXME("%p, %u, %d, %p, %p.\n", iface, index, id, exists, values);
 
     return E_NOTIMPL;
 }
-- 
2.30.1




More information about the wine-devel mailing list