  
  #if defined BROKEN_SWPRINTF
  	if (setlocale(LC_CTYPE, "UTF-8") == NULL)
-@@ -361,10 +361,12 @@ try
-   setGameVersion(version);
- 
-   ////////////////////////////////////////////////////////////
-+  SLOGD(TAG, "Starting %s:%d\n", __FILE__,__LINE__);
- 
- 	SDL_Init(SDL_INIT_VIDEO);
- 	SDL_EnableUNICODE(SDL_ENABLE);
- 
-+  SLOGD(TAG, "Starting %s:%d\n", __FILE__,__LINE__);
- #ifdef __APPLE__
-   // Enable 3-button mouse support if the user haven't instructed
-   // otherwise
-@@ -380,6 +382,7 @@ try
-   freopen("CON", "w", stderr);
- #endif
- 
-+  SLOGD(TAG, "Starting %s:%d\n", __FILE__,__LINE__);
- #ifdef SGP_DEBUG
- 	// Initialize the Debug Manager - success doesn't matter
- 	InitializeDebugManager();
 @@ -398,7 +401,7 @@ try
    if(extraDataDir.empty())
    {

   }
 
   std::string externalizedDataPath = FileMan::joinPaths(extraDataDir, "externalized");
@@ -428,6 +431,7 @@ try
   else
 #endif
   {
+    SLOGD(TAG, "Starting %s:%d\n", __FILE__,__LINE__);
     cm = new DefaultContentManager(version,
                                    configFolderPath,
                                    gameResRootPath, externalizedDataPath);
@@ -775,7 +779,7 @@ static void WriteDefaultConfigFile(const char* ConfigFile)
 #ifdef _WIN32
     fprintf(IniFile, "data_dir = C:\\Program Files\\Jagged Alliance 2");

 #endif
 		fclose(IniFile);
 		fprintf(stderr, "Please edit \"%s\" to point to the binary data.\n", ConfigFile);
