Handle the lone deque.

This commit is contained in:
Jason Felds
2013-04-27 13:45:04 -04:00
parent 11fcbaec64
commit e2e7b7f39e
2 changed files with 2 additions and 9 deletions
+2 -2
View File
@@ -726,10 +726,10 @@ bool ThemeManager::GetPathInfoToAndFallback( PathInfo &out, ElementCategory cate
int n = 100;
while( n-- )
{
FOREACHD_CONST( Theme, g_vThemes, iter )
for (Theme const &theme : g_vThemes)
{
// search with requested name
if( GetPathInfoToRaw( out, iter->sThemeName, category, sMetricsGroup, sElement ) )
if( GetPathInfoToRaw( out, theme.sThemeName, category, sMetricsGroup, sElement ) )
return true;
}