From cb52a530b81a4f48ff924ff8745d63d24686c62b Mon Sep 17 00:00:00 2001 From: Aetopia <41850963+Aetopia@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:44:15 +0530 Subject: [PATCH] Add proper path. --- src/WinMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WinMain.c b/src/WinMain.c index 6759745..556782f 100644 --- a/src/WinMain.c +++ b/src/WinMain.c @@ -49,7 +49,7 @@ void WinMainCRTStartup() if (szFileName[_] == '\\') { szFileName[_ = _ + 1] = '\0'; - lstrcatW(szFileName, L".ini"); + lstrcatW(szFileName, L"Crafter.ini"); break; } GetPrivateProfileStringW(L"", L"", NULL, szLibFileName, MAX_PATH, szFileName);