diff options
author | Aki <please@ignore.pl> | 2022-02-07 00:36:48 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-07 00:36:48 +0100 |
commit | 865eaca27d5ea0eb7f9ad93ad3d169d192080386 (patch) | |
tree | 447fab11ef4e9f5ac5ed81624d4ec5d0bb0ec94b /Stars45/NetLobbyClient.cpp | |
parent | ac10eabede2533de74c0dd6714b6cd5d02f6b914 (diff) | |
download | starshatter-865eaca27d5ea0eb7f9ad93ad3d169d192080386.zip starshatter-865eaca27d5ea0eb7f9ad93ad3d169d192080386.tar.gz starshatter-865eaca27d5ea0eb7f9ad93ad3d169d192080386.tar.bz2 |
Changed all file opening modes to be binary to have consistent newlines
Diffstat (limited to 'Stars45/NetLobbyClient.cpp')
-rw-r--r-- | Stars45/NetLobbyClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetLobbyClient.cpp b/Stars45/NetLobbyClient.cpp index 9340409..14bf749 100644 --- a/Stars45/NetLobbyClient.cpp +++ b/Stars45/NetLobbyClient.cpp @@ -745,7 +745,7 @@ NetLobbyClient::DoMissionData(NetPeer* peer, Text msg) if (msg.length()) { FILE* f; - ::fopen_s(&f, "multi_mission_recv.def", "w"); + ::fopen_s(&f, "multi_mission_recv.def", "wb"); if (f) { ::fwrite(msg.data(), msg.length(), 1, f); ::fclose(f); |