evaluate TargetNumber as a Lua expression

This commit is contained in:
Chris Danford
2005-02-16 00:16:14 +00:00
parent 40fde98efa
commit 4d31f3b4c1
7 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -677,7 +677,7 @@ void ThemeManager::EvaluateString( CString &sText )
{
/* If the string begins with an @, treat it as a raw Lua expression, and don't do any
* other filtering. (XXX: maybe we should still do font aliases) */
if( LUA->RunAtExpression( sText ) )
if( LUA->RunAtExpressionS( sText ) )
return;
// "::" means newline since you can't use line breaks in an ini file.