Changed: #1153 first, check for client_default.cfg in working dir

This commit is contained in:
rti 2010-11-09 02:21:35 +01:00
parent 1ce15d023e
commit 5180dc9afc

View file

@ -2170,6 +2170,8 @@ bool CClientConfig::getDefaultConfigLocation(std::string& p_name) const
std::string defaultConfigFileName = "client_default.cfg"; std::string defaultConfigFileName = "client_default.cfg";
std::string defaultConfigPath; std::string defaultConfigPath;
p_name = std::string();
#ifdef NL_OS_MAC #ifdef NL_OS_MAC
// on mac, client_default.cfg should be searched in .app/Contents/Resources/ // on mac, client_default.cfg should be searched in .app/Contents/Resources/
defaultConfigPath = defaultConfigPath =