mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
-Increase array size to allow proper string termination (MSVC warning #C4045)
-The code correctly copies only the first TCHAR4 value being the string itself svn path=/trunk/; revision=42426
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
#define MONSPERYEAR 12
|
||||
#define HUNDREDYEAROFFSET 19
|
||||
|
||||
static const _TCHAR wday_name[DAYSPERWEEK][4] =
|
||||
static const _TCHAR wday_name[DAYSPERWEEK][5] =
|
||||
{
|
||||
_T("Sun "), _T("Mon "), _T("Tue "), _T("Wed "),
|
||||
_T("Thu "), _T("Fri "), _T("Sat ")
|
||||
};
|
||||
|
||||
static const _TCHAR mon_name[MONSPERYEAR][4] =
|
||||
static const _TCHAR mon_name[MONSPERYEAR][5] =
|
||||
{
|
||||
_T("Jan "), _T("Feb "), _T("Mar "), _T("Apr "), _T("May "), _T("Jun "),
|
||||
_T("Jul "), _T("Aug "), _T("Sep "), _T("Oct "), _T("Nov "), _T("Dec ")
|
||||
|
||||
Reference in New Issue
Block a user