Commit 9d913e88 authored by Chen Bill's avatar Chen Bill Committed by GitHub

use standard access mode (#2710)

parent ffc6aee1
......@@ -1718,7 +1718,7 @@ void Game::AddDebugMsg(const char* msg) {
}
}
void Game::ErrorLog(const char* msg) {
FILE* fp = std::fopen("error.log", "at");
FILE* fp = std::fopen("error.log", "a");
if(!fp)
return;
time_t nowtime = std::time(nullptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment