Louis Lenders : kernel32: Silence a noisy fixme.

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:52 CST 2017


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

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Tue Jan 24 19:01:36 2017 +0100

kernel32: Silence a noisy fixme.

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/time.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/kernel32/time.c b/dlls/kernel32/time.c
index f4a1a35..09d06e8 100644
--- a/dlls/kernel32/time.c
+++ b/dlls/kernel32/time.c
@@ -1042,8 +1042,11 @@ int WINAPI GetCalendarInfoW(LCID Locale, CALID Calendar, CALTYPE CalType,
 int WINAPI GetCalendarInfoEx(LPCWSTR locale, CALID calendar, LPCWSTR lpReserved, CALTYPE caltype,
     LPWSTR data, int len, DWORD *value)
 {
+    static int once;
+
     LCID lcid = LocaleNameToLCID(locale, 0);
-    FIXME("(%s, %d, %p, 0x%08x, %p, %d, %p): semi-stub\n", debugstr_w(locale), calendar, lpReserved, caltype,
+    if (!once++)
+        FIXME("(%s, %d, %p, 0x%08x, %p, %d, %p): semi-stub\n", debugstr_w(locale), calendar, lpReserved, caltype,
         data, len, value);
     return GetCalendarInfoW(lcid, calendar, caltype, data, len, value);
 }




More information about the wine-cvs mailing list