From 865eaca27d5ea0eb7f9ad93ad3d169d192080386 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 7 Feb 2022 00:36:48 +0100 Subject: Changed all file opening modes to be binary to have consistent newlines --- Stars45/NetClientConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/NetClientConfig.cpp') diff --git a/Stars45/NetClientConfig.cpp b/Stars45/NetClientConfig.cpp index 9b00e1e..351dd5c 100644 --- a/Stars45/NetClientConfig.cpp +++ b/Stars45/NetClientConfig.cpp @@ -262,7 +262,7 @@ void NetClientConfig::Save() { FILE* f; - fopen_s(&f, "client.cfg", "w"); + fopen_s(&f, "client.cfg", "wb"); if (f) { fprintf(f, "CLIENT_CONFIG\n\n"); -- cgit v1.1