Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/main.cpp

Diff revisions: vs.
  @@ -10,7 +10,7 @@
10 10 freopen(OUTPUT_LOG_FILE, "w", stdout);
11 11 freopen(ERROR_LOG_FILE, "w", stderr);
12 12 //Initialize our application based on XML configuration. Error codes are always less than 0
13 - I8 returnCode = Application::getInstance().Initialize("main.xml",argc,argv);
13 + I8 returnCode = Application::getOrCreateInstance().Initialize("main.xml",argc,argv);
14 14 if(returnCode < 0){
15 15 //If any error occured, close the application as details should already be logged
16 16 return returnCode;
  @@ -20,6 +20,5 @@
20 20 Application::getInstance().Deinitialize();
21 21 //When the application is deleted, the last kernel used gets deleted as well
22 22 Application::getInstance().DestroyInstance();
23 - PRINT_FN(Locale::get("STOP_APPLICATION"));
24 23 return NO_ERR;
25 24 }