simplify: "\n" is newline, "::" separates tips

This commit is contained in:
Chris Danford
2006-01-09 17:45:21 +00:00
parent 832f1de7c4
commit 3df20418a8
2 changed files with 1 additions and 9 deletions
-4
View File
@@ -778,10 +778,6 @@ void ThemeManager::EvaluateString( RString &sText )
* Still do font aliases on the resulting string. */
LuaHelpers::RunAtExpressionS( sText );
// "::" means newline since you can't use line breaks in an ini file.
// XXX: this makes it impossible to put a colon at the end of a line, eg: "Color:\nRed"
sText.Replace("::","\n");
FontCharAliases::ReplaceMarkers( sText );
}