Author: akhaldi
Date: Mon Jun 1 18:53:24 2015
New Revision: 67996
URL:
http://svn.reactos.org/svn/reactos?rev=67996&view=rev
Log:
[KERNEL32] Apply Wine commit debd62c by Daniel Jelinski: Improved stub for
GetCalendarInfo's CAL_SCALNAME. CORE-9246
Modified:
trunk/reactos/dll/win32/kernel32/winnls/string/lcformat.c
Modified: trunk/reactos/dll/win32/kernel32/winnls/string/lcformat.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/winnls/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/winnls/string/lcformat.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/winnls/string/lcformat.c [iso-8859-1] Mon Jun 1
18:53:24 2015
@@ -2144,7 +2144,8 @@
return GetLocaleInfoW(Locale, LOCALE_ICALENDARTYPE, lpCalData, cchData);
case CAL_SCALNAME:
FIXME("Unimplemented caltype %d\n", CalType & 0xffff);
- return 0;
+ if (lpCalData) *lpCalData = 0;
+ return 1;
case CAL_IYEAROFFSETRANGE:
FIXME("Unimplemented caltype %d\n", CalType & 0xffff);
return 0;