- zero initialize value to prevent random values being returned from unimplemented GetCalendarInfoA|W
- fixes bug 2918
See issue #2918 for more details.
svn path=/trunk/; revision=31507
/* GLOBALS ******************************************************************/
-#define YEAR_STR_MAX_SIZE 4
+#define YEAR_STR_MAX_SIZE 5
#define MAX_SHRT_DATE_SEPARATORS 3
#define STD_DATE_SEP _T(".")
#define YEAR_DIFF (99)
static INT
GetMaxDate(LCID lcid)
{
- INT nMaxDateVal;
+ INT nMaxDateVal = 0;
GetCalendarInfo(lcid,
CAL_GREGORIAN,