Browse Source

Add file mode to log.txt file

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
acb1eb6092
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main.cpp

+ 1
- 1
src/main.cpp View File

@@ -14,7 +14,7 @@ int main(int argc, char* argv[]) {

#ifdef VERSION
std::string logFilename = assetLocal("log.txt");
gLogFile = fopen(logFilename.c_str());
gLogFile = fopen(logFilename.c_str(), "w");
#endif

if (!gApplicationVersion.empty()) {


Loading…
Cancel
Save