This commit is contained in:
parent
034108eb37
commit
2f4e772e31
|
@ -191,6 +191,7 @@ static HGResult IniReadValue(const char* section, const char* key, char* val, co
|
||||||
if (0 != access(file, 0))
|
if (0 != access(file, 0))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
strcpy(val, def);
|
||||||
return HGBASE_ERR_FILENOTEXIST;
|
return HGBASE_ERR_FILENOTEXIST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue