=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: kernel32: Silence a noisy FIXME in GetConsoleKeyboardLayoutNameW.

Alexandre Julliard julliard at winehq.org
Mon Apr 15 13:09:40 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Apr 13 23:57:30 2013 +0200

kernel32: Silence a noisy FIXME in GetConsoleKeyboardLayoutNameW.

---

 dlls/kernel32/console.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index d6d1414..8405f4f 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -1274,7 +1274,9 @@ BOOL WINAPI GetConsoleKeyboardLayoutNameA(LPSTR layoutName)
  */
 BOOL WINAPI GetConsoleKeyboardLayoutNameW(LPWSTR layoutName)
 {
-    FIXME( "stub %p\n", layoutName);
+    static int once;
+    if (!once++)
+        FIXME( "stub %p\n", layoutName);
     return TRUE;
 }
 




More information about the wine-cvs mailing list