Mike McCormack : user32: Print a fixme only once.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 14 05:14:15 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Nov 14 16:32:01 2006 +0900

user32: Print a fixme only once.

---

 dlls/user/win.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/user/win.c b/dlls/user/win.c
index 5e938e4..9ee1c00 100644
--- a/dlls/user/win.c
+++ b/dlls/user/win.c
@@ -3114,8 +3114,13 @@ BOOL WINAPI UpdateLayeredWindow( HWND hw
                                  HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend,
                                  DWORD dwFlags)
 {
-    FIXME("(%p,%p,%p,%p,%p,%p,0x%08x,%p,%d): stub!\n",
-          hwnd, hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend, dwFlags);
+    static int once;
+    if (!once)
+    {
+        once = 1;
+        FIXME("(%p,%p,%p,%p,%p,%p,0x%08x,%p,%d): stub!\n",
+              hwnd, hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend, dwFlags);
+    }
     return 0;
 }
 




More information about the wine-cvs mailing list