force TypeName arrays for XToString to be an array of const char*, not CString

This commit is contained in:
Glenn Maynard
2006-01-04 22:30:51 +00:00
parent 8ed46bd67f
commit b734b602d2
30 changed files with 65 additions and 56 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ CString LastDayToString( int iLastDayIndex )
return LAST_DAYS_NAME[iLastDayIndex];
}
static const CString DAY_OF_WEEK_TO_NAME[DAYS_IN_WEEK] =
static const char *DAY_OF_WEEK_TO_NAME[DAYS_IN_WEEK] =
{
"Sunday",
"Monday",
@@ -179,7 +179,7 @@ CString HourInDayToString( int iHourInDayIndex )
return ssprintf("Hour%02d", iHourInDayIndex);
}
static const CString MonthNames[] =
static const char *MonthNames[] =
{
"January",
"February",