diff options
Diffstat (limited to 'Stars45/Starshatter.cpp')
-rw-r--r-- | Stars45/Starshatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Starshatter.cpp b/Stars45/Starshatter.cpp index f9fefbf..3077aca 100644 --- a/Stars45/Starshatter.cpp +++ b/Stars45/Starshatter.cpp @@ -2643,7 +2643,7 @@ Starshatter::SaveVideoConfig(const char* filename) if (!video_settings) return; - FILE* f = fopen(filename, "w"); + FILE* f = fopen(filename, "wb"); if (f) { fprintf(f, "VIDEO\n\n"); fprintf(f, "width: %4d\n", video_settings->fullscreen_mode.width); |