diff options
Diffstat (limited to 'Stars45/VidDlg.cpp')
-rw-r--r-- | Stars45/VidDlg.cpp | 4 |
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(); |