don't allow StringToX for *_INVALID values

This commit is contained in:
Chris Danford
2005-03-05 21:50:33 +00:00
parent 2d2796148b
commit b60d135493
11 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ static const CString PageTypeNames[NUM_PAGE_TYPES] = {
"AllSteps",
"AllCourses",
};
XToString( PageType );
XToString( PageType, NUM_PAGE_TYPES );
#define COURSES_TO_SHOW PREFSMAN->m_sCoursesToShowRanking