Only defined for WIN32
This commit is contained in:
@@ -162,9 +162,11 @@ try_element_again:
|
|||||||
"'%s/%s/%s'. Please remove all but one of these matches.",
|
"'%s/%s/%s'. Please remove all but one of these matches.",
|
||||||
sThemeName.c_str(), sCategory.c_str(), sFileName.c_str() );
|
sThemeName.c_str(), sCategory.c_str(), sFileName.c_str() );
|
||||||
|
|
||||||
|
#if defined(WIND32)
|
||||||
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( message );
|
RageException::Throw( message );
|
||||||
}
|
}
|
||||||
@@ -210,9 +212,11 @@ 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