Louis Lenders : xinput1_3: Quiet a noisy fixme.

Alexandre Julliard julliard at winehq.org
Mon Jul 5 12:10:00 CDT 2010


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Mon Jul  5 07:30:47 2010 +0200

xinput1_3: Quiet a noisy fixme.

---

 dlls/xinput1_3/xinput1_3_main.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c
index 6d6399f..2b3a5f7 100644
--- a/dlls/xinput1_3/xinput1_3_main.c
+++ b/dlls/xinput1_3/xinput1_3_main.c
@@ -69,7 +69,10 @@ DWORD WINAPI XInputSetState(DWORD dwUserIndex, XINPUT_VIBRATION* pVibration)
 
 DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
 {
-    FIXME("(%u %p)\n", dwUserIndex, pState);
+    static int warn_once;
+
+    if (!warn_once++)
+        FIXME("(%u %p)\n", dwUserIndex, pState);
 
     if (dwUserIndex < XUSER_MAX_COUNT)
     {




More information about the wine-cvs mailing list