diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
commit | bbd71d4a8c95092deb9cbf4aef86722a1e9628db (patch) | |
tree | 59566c4baa2e32287fe5867e5616ca560d3f3bf5 /src/configmanager.cpp | |
parent | 6f7f469430ea05946a11dd41f62010961be6285e (diff) | |
download | manaplus-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.gz manaplus-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.bz2 manaplus-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.xz manaplus-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.zip |
Fix unit tests on windows.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 953a7c2e7..f95d98f4e 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -67,7 +67,7 @@ void ConfigManager::initServerConfig(const std::string &serverName) FILE *configFile = fopen(configPath.c_str(), "r"); if (!configFile) { - configFile = fopen(configPath.c_str(), "wt"); + configFile = fopen(configPath.c_str(), "wb"); logger->log("Creating new server config: " + configPath); if (configFile) { |