diff --git a/modules/base/HGInfoImpl.cpp b/modules/base/HGInfoImpl.cpp index 7f135786..46ff9617 100644 --- a/modules/base/HGInfoImpl.cpp +++ b/modules/base/HGInfoImpl.cpp @@ -39,15 +39,15 @@ HGResult HGInfoImpl::Enable() strcat(cfgPath, "config.ini"); HGBool writeLog; - HGBase_GetProfileInt(cfgPath, "Info", "writeLog", 1, &writeLog); + HGBase_GetProfileInt(cfgPath, "info", "writeLog", 1, &writeLog); HGBool writeConsole; - HGBase_GetProfileInt(cfgPath, "Info", "writeConsole", 1, &writeConsole); + HGBase_GetProfileInt(cfgPath, "info", "writeConsole", 0, &writeConsole); HGUInt defType = HGBASE_INFOTYPE_FATAL | HGBASE_INFOTYPE_ERROR | HGBASE_INFOTYPE_WARNING | HGBASE_INFOTYPE_DESC | HGBASE_INFOTYPE_DEBUG; - HGBase_GetProfileInt(cfgPath, "Info", "type", (HGInt)defType, (HGInt*)&m_type); - HGBase_GetProfileInt(cfgPath, "Info", "showTime", 1, &m_showTime); - HGBase_GetProfileInt(cfgPath, "Info", "showId", 0, &m_showId); - HGBase_GetProfileInt(cfgPath, "Info", "showType", 1, &m_showType); + HGBase_GetProfileInt(cfgPath, "info", "type", (HGInt)defType, (HGInt*)&m_type); + HGBase_GetProfileInt(cfgPath, "info", "showTime", 1, &m_showTime); + HGBase_GetProfileInt(cfgPath, "info", "showId", 0, &m_showId); + HGBase_GetProfileInt(cfgPath, "info", "showType", 1, &m_showType); if (writeLog) {