Combined windows and non-windows handling of redirecting log to file (no
idea why there was ever made a distinction).
This commit is contained in:
parent
1cb7445e1b
commit
c705ad7732
@ -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; i<m_root_dirs.size(); i++)
|
||||
|
@ -1183,11 +1183,6 @@ int main(int argc, char *argv[] )
|
||||
|
||||
initRest();
|
||||
|
||||
// Windows 32 always redirects output
|
||||
#ifndef WIN32
|
||||
file_manager->redirectOutput();
|
||||
#endif
|
||||
|
||||
input_manager = new InputManager ();
|
||||
|
||||
#ifdef ENABLE_WIIUSE
|
||||
|
Loading…
Reference in New Issue
Block a user