[PATCH 07/21] dlls/dwrite: Use FIXME_ONCE
David Kahurani
k.kahurani at gmail.com
Fri Oct 15 10:35:38 CDT 2021
introduce FIXME_ONCE
Signed-off-by: David Kahurani <k.kahurani at gmail.com>
---
dlls/dwrite/analyzer.c | 5 +----
dlls/dwrite/font.c | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c
index 89c76da..1516d46 100644
--- a/dlls/dwrite/analyzer.c
+++ b/dlls/dwrite/analyzer.c
@@ -973,10 +973,7 @@ done:
static HRESULT WINAPI dwritetextanalyzer_AnalyzeNumberSubstitution(IDWriteTextAnalyzer2 *iface,
IDWriteTextAnalysisSource* source, UINT32 position, UINT32 length, IDWriteTextAnalysisSink* sink)
{
- static int once;
-
- if (!once++)
- FIXME("(%p %u %u %p): stub\n", source, position, length, sink);
+ FIXME_ONCE("(%p %u %u %p): stub\n", source, position, length, sink);
return S_OK;
}
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index b707131..7a52265 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -1642,10 +1642,7 @@ static HRESULT WINAPI dwritefontface5_GetFontAxisValues(IDWriteFontFace5 *iface,
static BOOL WINAPI dwritefontface5_HasVariations(IDWriteFontFace5 *iface)
{
- static int once;
-
- if (!once++)
- FIXME("%p: stub\n", iface);
+ FIXME_ONCE("%p: stub\n", iface);
return FALSE;
}
--
2.33.0
More information about the wine-devel
mailing list