Paul Chitescu : user32: Unimplemented SystemParametersInfoW actions display fixme only once.

Alexandre Julliard julliard at winehq.org
Mon Nov 10 07:44:02 CST 2008


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

Author: Paul Chitescu <paulc at voip.null.ro>
Date:   Fri Nov  7 22:16:32 2008 +0200

user32: Unimplemented SystemParametersInfoW actions display fixme only once.

---

 dlls/user32/sysparams.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 5662db3..5c3bec5 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -1186,7 +1186,14 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
 {
 #define WINE_SPI_FIXME(x) \
     case x: \
-        FIXME( "Unimplemented action: %u (%s)\n", x, #x ); \
+        { \
+            static BOOL warn = TRUE; \
+            if (warn) \
+            { \
+                warn = FALSE; \
+                FIXME( "Unimplemented action: %u (%s)\n", x, #x ); \
+            } \
+        } \
         SetLastError( ERROR_INVALID_SPI_VALUE ); \
         ret = FALSE; \
         break




More information about the wine-cvs mailing list