do font aliases on Lua expressions
This commit is contained in:
@@ -697,10 +697,9 @@ CString ThemeManager::GetMetric( const CString &sClassName, const CString &sValu
|
|||||||
|
|
||||||
void ThemeManager::EvaluateString( CString &sText )
|
void ThemeManager::EvaluateString( CString &sText )
|
||||||
{
|
{
|
||||||
/* If the string begins with an @, treat it as a raw Lua expression, and don't do any
|
/* If the string begins with an @, treat it as a Lua expression.
|
||||||
* other filtering. (XXX: maybe we should still do font aliases) */
|
* Still do font aliases on the resulting string. */
|
||||||
if( LUA->RunAtExpressionS( sText ) )
|
LUA->RunAtExpressionS( sText );
|
||||||
return;
|
|
||||||
|
|
||||||
// "::" means newline since you can't use line breaks in an ini file.
|
// "::" 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"
|
// XXX: this makes it impossible to put a colon at the end of a line, eg: "Color:\nRed"
|
||||||
|
|||||||
Reference in New Issue
Block a user