mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Another windows build fix
This commit is contained in:
		
							parent
							
								
									07f692bdd2
								
							
						
					
					
						commit
						baacf91de4
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -282,9 +282,11 @@ int main(int argc, char**argv)
 | 
			
		|||
    }
 | 
			
		||||
    catch (std::exception &e)
 | 
			
		||||
    {
 | 
			
		||||
#if OGRE_PLATFORM == OGRE_PLATFORM_LINUX || OGRE_PLATFORM == OGRE_PLATFORM_APPLE
 | 
			
		||||
        if (isatty(fileno(stdin)))
 | 
			
		||||
            std::cerr << "\nERROR: " << e.what() << std::endl;
 | 
			
		||||
        else
 | 
			
		||||
#endif
 | 
			
		||||
            SDL_ShowSimpleMessageBox(0, "OpenMW: Fatal error", e.what(), NULL);
 | 
			
		||||
 | 
			
		||||
        return 1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue