The correct syntax for theme metrics is "class::name".

This commit is contained in:
Steve Checkoway
2006-09-17 05:37:42 +00:00
parent 941dac27b3
commit b1ccf2e5ff
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ RString NoteSkinManager::GetMetric( const RString &sButtonName, const RString &s
if( data.metrics.GetValue( sButtonName, sValue, sReturn ) )
return sReturn;
if( !data.metrics.GetValue( "NoteDisplay", sValue, sReturn ) )
RageException::Throw( "Could not read metric \"%s : %s\" or \"NoteDisplay : %s\" in \"%s\".",
RageException::Throw( "Could not read metric \"%s::%s\" or \"NoteDisplay::%s\" in \"%s\".",
sButtonName.c_str(), sValue.c_str(), sValue.c_str(), sNoteSkinName.c_str() );
return sReturn;
}