don't allow StringToX for *_INVALID values
This commit is contained in:
@@ -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 ),
|
||||
|
||||
Reference in New Issue
Block a user