Browse Source

Cleanup of OS Specific code

David Wimsey 11 years ago
parent
commit
e27a254456
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Samples/basic/ogre3d/src/main.cpp

+ 4 - 4
Samples/basic/ogre3d/src/main.cpp

@@ -50,11 +50,11 @@ int main(int ROCKET_UNUSED_PARAMETER(argc), char** ROCKET_UNUSED_PARAMETER(argv)
 	}
 	}
 	catch (Exception& e)
 	catch (Exception& e)
 	{
 	{
-		#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 
+#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 
 	        MessageBox(NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
 	        MessageBox(NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
-		#else
-			fprintf(stderr, "An exception has occurred: %s\n", e.getFullDescription().c_str());
-		#endif
+#else
+		fprintf(stderr, "An exception has occurred: %s\n", e.getFullDescription().c_str());
+#endif
 	}
 	}
 
 
 	return 0;
 	return 0;