show the resulting invalid color value when a color metric using a Lua

function returns garbage, not the text of the lua call
This commit is contained in:
Glenn Maynard
2005-02-15 01:53:30 +00:00
parent 831e7c1825
commit 22eee805b9
+1 -1
View File
@@ -738,7 +738,7 @@ RageColor ThemeManager::GetMetricC( const CString &sClassName, const CString &sV
RageColor ret(1,1,1,1);
if( !ret.FromString(sValue) )
LOG->Warn( "The color value '%s' for metric '%s : %s' is invalid.", GetMetricRaw(sClassName,sValueName).c_str(), sClassName.c_str(), sValueName.c_str() );
LOG->Warn( "The color value '%s' for metric '%s : %s' is invalid.", sValue.c_str(), sClassName.c_str(), sValueName.c_str() );
return ret;
}