lookup fix

This commit is contained in:
Glenn Maynard
2003-09-12 04:44:53 +00:00
parent 38855e3d91
commit 8180a6c614
+1
View File
@@ -149,6 +149,7 @@ CString NoteSkinManager::GetNoteSkinDir( CString sSkinName )
CString NoteSkinManager::GetMetric( CString sNoteSkinName, CString sButtonName, CString sValue ) CString NoteSkinManager::GetMetric( CString sNoteSkinName, CString sButtonName, CString sValue )
{ {
sNoteSkinName.MakeLower();
CString sReturn; CString sReturn;
NoteSkinData& data = m_mapNameToData[sNoteSkinName]; NoteSkinData& data = m_mapNameToData[sNoteSkinName];
if( data.metrics.GetValue( sButtonName, sValue, sReturn ) ) if( data.metrics.GetValue( sButtonName, sValue, sReturn ) )