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
@@ -11,7 +11,7 @@ static const CString PrefsGroupNames[NUM_PREFS_GROUPS] = {
"Editor",
"Options",
};
XToString( PrefsGroup );
XToString( PrefsGroup, NUM_PREFS_GROUPS );
IPreference::IPreference( PrefsGroup PrefsGroup, const CString& sName ):
m_PrefsGroup( PrefsGroup ),