This commit is contained in:
Glenn Maynard
2005-10-05 05:49:50 +00:00
parent d1c457601f
commit a5cf8c21b0
+6 -6
View File
@@ -206,12 +206,12 @@ try_again:
CString sPath; // fill this in below CString sPath; // fill this in below
FOREACHD_CONST( CString, data.vsDirSearchOrder, iter ) FOREACHD_CONST( CString, data.vsDirSearchOrder, iter )
{ {
if( *iter == GLOBAL_BASE_NOTESKIN_DIR ) if( *iter == GLOBAL_BASE_NOTESKIN_DIR )
sPath = GetPathFromDirAndFile( *iter, "Fallback "+sElement ); sPath = GetPathFromDirAndFile( *iter, "Fallback "+sElement );
else else
sPath = GetPathFromDirAndFile( *iter, sButtonName+" "+sElement ); sPath = GetPathFromDirAndFile( *iter, sButtonName+" "+sElement );
if( !sPath.empty() ) if( !sPath.empty() )
break; // done searching break; // done searching
} }
if( sPath.empty() ) if( sPath.empty() )