From 12e7bc479e855bb0336a8943ab18c0de47f4b39d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 16 Aug 1998 01:37:16 +0000 Subject: [PATCH] Karsten's correction undone - this code is (was) correct! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config.cpp b/src/common/config.cpp index b2d66b5ffd..b7c4a11854 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -114,7 +114,7 @@ wxConfigBase::PathChanger::PathChanger(const wxConfigBase *pContainer, wxString strPath = strEntry.Before(wxCONFIG_PATH_SEPARATOR); // special case of "/keyname" when there is nothing before "/" - if ( (!strPath.IsEmpty()) && strEntry[0] == wxCONFIG_PATH_SEPARATOR ) + if ( strPath.IsEmpty() && strEntry[0] == wxCONFIG_PATH_SEPARATOR ) strPath = wxCONFIG_PATH_SEPARATOR; if ( !strPath.IsEmpty() ) { -- 2.45.2