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
+2 -2
View File
@@ -13,7 +13,7 @@ static const CString DifficultyNames[NUM_DIFFICULTIES] = {
"Challenge",
"Edit",
};
XToString( Difficulty );
XToString( Difficulty, NUM_DIFFICULTIES );
XToThemedString( Difficulty, NUM_DIFFICULTIES );
/* We prefer the above names; recognize a number of others, too. (They'l
@@ -66,7 +66,7 @@ static const CString CourseDifficultyNames[NUM_DIFFICULTIES] =
"Challenge",
"Edit",
};
XToString( CourseDifficulty );
XToString( CourseDifficulty, NUM_DIFFICULTIES );
XToThemedString( CourseDifficulty, NUM_DIFFICULTIES );
StringToX( CourseDifficulty );