From 938cd952ad2fbef13dce8181cdbceb897d79464c Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Mon, 25 Apr 2016 16:51:36 +0200 Subject: [PATCH] dwrite: Print a FIXME only once in dwritetextanalyzer_AnalyzeNumberSubstitution. Signed-off-by: Louis Lenders Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/dwrite/analyzer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c index c7ef039f3d0..90b53adc554 100644 --- a/dlls/dwrite/analyzer.c +++ b/dlls/dwrite/analyzer.c @@ -867,7 +867,10 @@ done: static HRESULT WINAPI dwritetextanalyzer_AnalyzeNumberSubstitution(IDWriteTextAnalyzer2 *iface, IDWriteTextAnalysisSource* source, UINT32 position, UINT32 length, IDWriteTextAnalysisSink* sink) { - FIXME("(%p %u %u %p): stub\n", source, position, length, sink); + static int once; + + if (!once++) + FIXME("(%p %u %u %p): stub\n", source, position, length, sink); return S_OK; }