fix expressions (mysterious forces contrived to make this appear to work)

This commit is contained in:
Glenn Maynard
2005-02-17 08:41:13 +00:00
parent 8da09ebd6e
commit 2270e62eb4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ void ScreenSelect::Update( float fDelta )
} }
} }
Screen::Update( fDelta ); ScreenWithMenuElements::Update( fDelta );
} }
void ScreenSelect::DrawPrimitives() void ScreenSelect::DrawPrimitives()
+1 -1
View File
@@ -818,7 +818,7 @@ void ThemeManager::GetMetric( const CString &sClassName, const CString &sValueNa
void ThemeManager::GetMetric( const CString &sClassName, const CString &sValueName, LuaExpression &valueOut ) void ThemeManager::GetMetric( const CString &sClassName, const CString &sValueName, LuaExpression &valueOut )
{ {
CString sValue = GetMetricRaw( sClassName, sValueName ); CString sValue = GetMetricRaw( sClassName, sValueName );
valueOut.SetFromExpression( sValue ); valueOut.SetFromExpression( "function(self) " + sValue + "end" );
} }
// lua start // lua start