This commit is contained in:
parent
06bb383d3a
commit
98a6d3f002
|
@ -311,6 +311,7 @@ HGResult HGAPI HGBase_GetProfileInt(const HGChar* fileName, const HGChar* appNam
|
|||
HGResult ret = readStringValue(appName, keyName, strRet, strDef, fileName);
|
||||
if (HGBASE_ERR_OK != ret)
|
||||
{
|
||||
*value = def;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue