Nikolay Sivov : dwrite: Silence GetPropertyValues() fixme.

Alexandre Julliard julliard at winehq.org
Thu Mar 4 15:53:37 CST 2021


Module: wine
Branch: master
Commit: c8ac1909bc0540ad080c626fc806f25582be1fa4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c8ac1909bc0540ad080c626fc806f25582be1fa4

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Mar  4 18:39:36 2021 +0300

dwrite: Silence GetPropertyValues() fixme.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
 }




More information about the wine-cvs mailing list