dwmapi: Silence a fixme.

Hans Leidekker hans at codeweavers.com
Tue Jan 28 06:24:47 CST 2014


---
 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 e6154ba..8cc46f0 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -112,7 +112,9 @@ HRESULT WINAPI DwmFlush(void)
  */
 HRESULT WINAPI DwmSetWindowAttribute(HWND hwnd, DWORD attributenum, LPCVOID attribute, DWORD size)
 {
-    FIXME("(%p, %x, %p, %x) stub\n", hwnd, attributenum, attribute, size);
+    static BOOL once;
+
+    if (!once++) FIXME("(%p, %x, %p, %x) stub\n", hwnd, attributenum, attribute, size);
 
     return E_NOTIMPL;
 }
-- 
1.8.5.3






More information about the wine-patches mailing list