From c705ad773266a0239af9949c63961d78415a6b1c Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 30 May 2014 10:54:08 +1000 Subject: [PATCH 1/2] Combined windows and non-windows handling of redirecting log to file (no idea why there was ever made a distinction). --- src/io/file_manager.cpp | 3 --- src/main.cpp | 5 ----- 2 files changed, 8 deletions(-) diff --git a/src/io/file_manager.cpp b/src/io/file_manager.cpp index a46b7f9d1..0de0e621c 100644 --- a/src/io/file_manager.cpp +++ b/src/io/file_manager.cpp @@ -195,11 +195,8 @@ FileManager::FileManager() checkAndCreateCachedTexturesDir(); checkAndCreateGPDir(); -#ifdef WIN32 redirectOutput(); -#endif - // We can't use _() here, since translations will only be initalised // after the filemanager (to get the path to the tranlsations from it) for(unsigned int i=0; iredirectOutput(); -#endif - input_manager = new InputManager (); #ifdef ENABLE_WIIUSE From 23e56e94547eceed4f8d1e06cdc868c27ff592a0 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 30 May 2014 11:03:32 +1000 Subject: [PATCH 2/2] Fixed indentation. --- src/tracks/track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 132e8c970..e283d9cc1 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -181,7 +181,7 @@ core::stringw Track::getName() const { translated = translated.subString(0, index); } - return translated; + return translated; } // getName //-----------------------------------------------------------------------------