[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Louis Lenders : kernel32: Silence a noisy fixme.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2017-01-31 21:42:52
Message-ID: E1cYgCS-0008Tb-6v () winehq ! org
[Download RAW message or body]

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


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

kernel32: Silence a noisy fixme.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@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);
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic