[PATCH] dwmapi: Quiet noisy fixme

Louis Lenders xerox.xerox2000x at gmail.com
Mon Oct 19 03:31:29 CDT 2020


Should fix problem reported on forum https://forum.winehq.org/viewtopic.php?f=8&t=34459
( and I also encountered this few times flooding the console )

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
 dlls/dwmapi/dwmapi_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c
index eb11ecb6b7f..45c33c2169a 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -103,7 +103,9 @@ HRESULT WINAPI DwmGetColorizationColor(DWORD *colorization, BOOL opaque_blend)
  */
 HRESULT WINAPI DwmFlush(void)
 {
-    FIXME("() stub\n");
+    static BOOL once;
+
+    if (!once++) FIXME("() stub\n");
 
     return E_NOTIMPL;
 }
-- 
2.28.0




More information about the wine-devel mailing list