fix compile
This commit is contained in:
@@ -168,9 +168,7 @@ CString ThemeManager::GetThemeDirFromName( const CString &sThemeName )
|
|||||||
|
|
||||||
CString ThemeManager::GetPathTo( CString sThemeName, ElementCategory category, CString sFileName )
|
CString ThemeManager::GetPathTo( CString sThemeName, ElementCategory category, CString sFileName )
|
||||||
{
|
{
|
||||||
#if defined(WIN32) // XXX arch?
|
|
||||||
try_element_again:
|
try_element_again:
|
||||||
#endif
|
|
||||||
sFileName.MakeLower();
|
sFileName.MakeLower();
|
||||||
|
|
||||||
const CString sThemeDir = GetThemeDirFromName( sThemeName );
|
const CString sThemeDir = GetThemeDirFromName( sThemeName );
|
||||||
@@ -291,11 +289,9 @@ try_element_again:
|
|||||||
"Verify that this redirect is correct.",
|
"Verify that this redirect is correct.",
|
||||||
sPath.c_str(), sNewFileName.c_str());
|
sPath.c_str(), sNewFileName.c_str());
|
||||||
|
|
||||||
#if defined(WIN32)
|
|
||||||
if( DISPLAY->IsWindowed() )
|
if( DISPLAY->IsWindowed() )
|
||||||
if( ArchHooks::retry == HOOKS->MessageBoxAbortRetryIgnore(message) )
|
if( ArchHooks::retry == HOOKS->MessageBoxAbortRetryIgnore(message) )
|
||||||
goto try_element_again;
|
goto try_element_again;
|
||||||
#endif
|
|
||||||
|
|
||||||
RageException::Throw( "%s", message.c_str() );
|
RageException::Throw( "%s", message.c_str() );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user