From: <pst...@us...> - 2013-01-07 05:32:59
|
Revision: 949 http://sourceforge.net/p/jazzplusplus/code/949 Author: pstieber Date: 2013-01-07 05:32:57 +0000 (Mon, 07 Jan 2013) Log Message: ----------- Fixed configuration file path handling. Modified Paths: -------------- trunk/jazz/src/Project.cpp Modified: trunk/jazz/src/Project.cpp =================================================================== --- trunk/jazz/src/Project.cpp 2013-01-07 05:31:29 UTC (rev 948) +++ trunk/jazz/src/Project.cpp 2013-01-07 05:32:57 UTC (rev 949) @@ -394,7 +394,10 @@ ConfigurationFilePath.clear(); if (FindAndRegisterConfFilePath(ConfigurationFilePath)) { - JazzCfgFile = ConfigurationFilePath + mConfFileName; + JazzCfgFile = + ConfigurationFilePath + + wxFileName::GetPathSeparator() + + mConfFileName; // Try one more time. if (!::wxFileExists(JazzCfgFile)) @@ -452,7 +455,6 @@ // Generate a c-style string that contains a path to the help file. wxString TempConfFilePath; TempConfFilePath = ::wxPathOnly(OpenDialog.GetPath()); - TempConfFilePath += ::wxFileName::GetPathSeparator(); wxConfigBase* pConfig = wxConfigBase::Get(); if (pConfig) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |