Bläddra i källkod

Cleanup of OS Specific code

David Wimsey 11 år sedan
förälder
incheckning
e27a254456
1 ändrade filer med 4 tillägg och 4 borttagningar
  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)
 	{
-		#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);
-		#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;