Commit 76a4bceb authored by Jan Möbius's avatar Jan Möbius

Cleanup indentations

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9395 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 464c4cf6
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#include <omp.h> #include <omp.h>
#endif #endif
// Includes for windows debugging console // Includes for windows debugging console
#ifdef WIN32 #ifdef WIN32
#ifndef NDEBUG #ifndef NDEBUG
...@@ -70,6 +71,7 @@ ...@@ -70,6 +71,7 @@
#endif #endif
#endif #endif
// #ifndef WIN32 // #ifndef WIN32
// //
// #include <sys/resource.h> // #include <sys/resource.h>
...@@ -216,8 +218,8 @@ void segfaultHandling (int) { ...@@ -216,8 +218,8 @@ void segfaultHandling (int) {
} }
#ifdef WIN32 #ifdef WIN32
#ifndef NDEBUG #ifndef NDEBUG
void getConsole() { void getConsole() {
//Create a console for this application //Create a console for this application
AllocConsole(); AllocConsole();
//Redirect unbuffered STDOUT to the console //Redirect unbuffered STDOUT to the console
...@@ -238,8 +240,8 @@ void getConsole() { ...@@ -238,8 +240,8 @@ void getConsole() {
FILE *CInputHandle = _fdopen(SystemInput, "r" ); FILE *CInputHandle = _fdopen(SystemInput, "r" );
*stdin = *CInputHandle; *stdin = *CInputHandle;
setvbuf(stdin, NULL, _IONBF, 0); setvbuf(stdin, NULL, _IONBF, 0);
} }
#endif #endif
#endif #endif
bool openPolyMeshes = false; bool openPolyMeshes = false;
...@@ -302,9 +304,9 @@ int main(int argc, char **argv) ...@@ -302,9 +304,9 @@ int main(int argc, char **argv)
#ifdef WIN32 #ifdef WIN32
#ifndef NDEBUG #ifndef NDEBUG
getConsole(); getConsole();
#endif #endif
#endif #endif
// Remove -psn_0_xxxxx argument which is automatically // Remove -psn_0_xxxxx argument which is automatically
// attached by MacOSX // attached by MacOSX
for (int i = 0; i < argc; i++) { for (int i = 0; i < argc; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment