summaryrefslogtreecommitdiffhomepage
path: root/Stars45/VidDlg.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-07 00:36:48 +0100
committerAki <please@ignore.pl>2022-02-07 00:36:48 +0100
commit865eaca27d5ea0eb7f9ad93ad3d169d192080386 (patch)
tree447fab11ef4e9f5ac5ed81624d4ec5d0bb0ec94b /Stars45/VidDlg.cpp
parentac10eabede2533de74c0dd6714b6cd5d02f6b914 (diff)
downloadstarshatter-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/VidDlg.cpp')
-rw-r--r--Stars45/VidDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/VidDlg.cpp b/Stars45/VidDlg.cpp
index 918d1df..e7bdc09 100644
--- a/Stars45/VidDlg.cpp
+++ b/Stars45/VidDlg.cpp
@@ -403,9 +403,9 @@ VidDlg::Apply()
FILE* f = 0;
if (video_change)
- fopen_s(&f, "video2.cfg", "w");
+ fopen_s(&f, "video2.cfg", "wb");
else
- fopen_s(&f, "video.cfg", "w");
+ fopen_s(&f, "video.cfg", "wb");
if (gamma) {
g = gamma->GetValue();