From 4c07a8defa48565d05b3d6351e653a41488881c6 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh <cc.red.alert.1@googlemail.com> Date: Sat, 14 Oct 2023 05:05:53 +0200 Subject: [PATCH] replace questionmark --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index d71259d..e15355e 100644 --- a/src/config.c +++ b/src/config.c @@ -1115,7 +1115,7 @@ static DWORD cfg_get_string(LPCSTR key, LPCSTR default_value, LPSTR out_string, else { char section[MAX_PATH] = { 0 }; - _snprintf(section, sizeof(section) - 1, "%s?%d", g_config.process_file_name, 2); + _snprintf(section, sizeof(section) - 1, "%s/%d", g_config.process_file_name, 2); s = GetPrivateProfileStringA(section, key, "", out_string, out_size, g_config.ini_path);