fix read ini file bugs
This commit is contained in:
parent
a36142bcf8
commit
33b4548def
@ -1515,7 +1515,7 @@ int writeStringVlaue(const char *section, const char *key, char *val, const char
|
||||
}
|
||||
memset(sect, 0, SECTION_MAX_LEN);
|
||||
sprintf(sect, "[%s]", section);
|
||||
IniWriteValue(section, key, val, file);
|
||||
IniWriteValue(sect, key, val, file);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user