only clamp description for edits

This commit is contained in:
Chris Danford
2005-04-13 08:05:48 +00:00
parent d4df3a1431
commit ce83ae6ef0
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -2454,7 +2454,7 @@ void ScreenEdit::HandleStepsInformationChoice( StepsInformationChoice c, const v
SM_None,
"Enter a description.",
m_pSteps->GetDescription(),
MAX_DESCRIPTION_LENGTH,
(dc == DIFFICULTY_EDIT) ? MAX_EDIT_DESCRIPTION_LENGTH : 255,
NULL,
ChangeDescription,
NULL