1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

replace questionmark

This commit is contained in:
FunkyFr3sh 2023-10-14 05:05:53 +02:00
parent dfae3361a0
commit 4c07a8defa

View File

@ -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);