mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix filename
This commit is contained in:
parent
d7ed6bd7bc
commit
d3a1c821c8
@ -37,7 +37,7 @@ void ini_create(INIFILE* ini, char* filename)
|
||||
char* buf = malloc(BUF_SIZE);
|
||||
if (buf)
|
||||
{
|
||||
DWORD size = GetPrivateProfileSectionA(name, buf, BUF_SIZE, ini->filename);
|
||||
DWORD size = GetPrivateProfileSectionA(name, buf, BUF_SIZE, filename);
|
||||
if (size > 0)
|
||||
{
|
||||
ini->sections[i].data = malloc(size + 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user