Hans Leidekker : dwmapi: Silence a fixme.

Alexandre Julliard julliard at winehq.org
Tue Jan 28 13:33:25 CST 2014


Module: wine
Branch: master
Commit: 7d696911b2496eba4a84c0ab2334219926adf3fe
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7d696911b2496eba4a84c0ab2334219926adf3fe

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Jan 28 13:24:47 2014 +0100

dwmapi: Silence a fixme.

---

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




More information about the wine-cvs mailing list