From cfe07c01c0bb0a44e9136fd7dc4847cbb1d1fe6d Mon Sep 17 00:00:00 2001
From: FunkyFr3sh <cc.red.alert.1@googlemail.com>
Date: Sun, 17 Jan 2021 07:43:25 +0100
Subject: [PATCH] save to global 'ddraw' section by default

---
 src/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/config.c b/src/config.c
index 4ed9592..52ec77e 100644
--- a/src/config.c
+++ b/src/config.c
@@ -58,7 +58,7 @@ void cfg_load()
     g_config.window_rect.left = cfg_get_int("posX", -32000);
     g_config.window_rect.top = cfg_get_int("posY", -32000);
 
-    g_config.save_settings = cfg_get_int("savesettings", 2);
+    g_config.save_settings = cfg_get_int("savesettings", 1);
 
 #ifdef _MSC_VER
     g_hook_method = cfg_get_int("hook", 4);
@@ -278,7 +278,7 @@ static void cfg_create_ini()
             "\n"
             "; Save window position/size/state on game exit and restore it automatically on next game start\n"
             "; Possible values: 0 = disabled, 1 = save to global 'ddraw' section, 2 = save to game specific section\n"
-            "savesettings=2\n"
+            "savesettings=1\n"
             "\n"
             "; Should the window be resizeable by the user in windowed mode?\n"
             "resizeable=true\n"