Skip to content

Commit

Permalink
FIX should now overwrite log file (not sure...)
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed May 28, 2009
1 parent c7a0fac commit acc1624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/source/Console.cpp
Expand Up @@ -65,7 +65,7 @@ namespace Polukili

setvbuf(stdout, NULL , _IONBF, 0);

Console::logFile.open(Polukili::Constants::logFilename.data(), ios::out);
Console::logFile.open(Polukili::Constants::logFilename.data(), ios::out | ios::trunc);
this->clear();
}

Expand Down

0 comments on commit acc1624

Please sign in to comment.