summaryrefslogtreecommitdiffstats
path: root/src/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r--src/app/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 28d21ee..54d305e 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -26,16 +26,16 @@
//! Entry point to the program
int main(int argc, char *argv[])
{
- CApplication app; // single instance of the application
+ CApplication app; // single instance of the application
- Error err = app.ParseArguments(argc, argv);
- if (err != ERR_OK)
- {
- SystemDialog(SDT_ERROR, "COLOBOT", "Invalid commandline arguments!\n");
- }
+ Error err = app.ParseArguments(argc, argv);
+ if (err != ERR_OK)
+ {
+ SystemDialog(SDT_ERROR, "COLOBOT", "Invalid commandline arguments!\n");
+ }
- if (! app.Create())
- return 0;
+ if (! app.Create())
+ return 0;
- return app.Run();
+ return app.Run();
}