Index: src/ch/CfgProperties.h =================================================================== diff -u -N -rb684bec49aaaea4b89ab2e599497f4085d8698a3 -rad9bc5d98b91dc9f680742afbf4990b2b6dcda30 --- src/ch/CfgProperties.h (.../CfgProperties.h) (revision b684bec49aaaea4b89ab2e599497f4085d8698a3) +++ src/ch/CfgProperties.h (.../CfgProperties.h) (revision ad9bc5d98b91dc9f680742afbf4990b2b6dcda30) @@ -261,7 +261,11 @@ template bool GetPropValue(const chcore::TConfig& rConfig, typename PropData::value_type& rValue) { - return GetConfigValue(rConfig, CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); + bool bResult = GetConfigValue(rConfig, CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); + if(!bResult) + rValue = PropData::GetDefaultValue(); + + return bResult; } template