From bf2e34f32ee8dfa195ec20d06af161e50710146c Mon Sep 17 00:00:00 2001 From: Josue Huaroto Date: Wed, 2 Aug 2023 15:40:57 +0000 Subject: [PATCH] Change variable substitution for paths in Windows. (cherry picked from commit 74695b0995d728aadcb93ea03db4ba9e0093ab9d) --- common/filename_resolver.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/filename_resolver.cpp b/common/filename_resolver.cpp index f1ffd9cbf5..ce81d75536 100644 --- a/common/filename_resolver.cpp +++ b/common/filename_resolver.cpp @@ -253,11 +253,6 @@ wxString FILENAME_RESOLVER::ResolvePath( const wxString& aFileName, const wxStri // first attempt to use the name as specified: wxString tname = aFileName; - #ifdef _WIN32 - // translate from KiCad's internal UNIX-like path to MSWin paths - tname.Replace( wxT( "/" ), wxT( "\\" ) ); - #endif - // Note: variable expansion must preferably be performed via a threadsafe wrapper for the // getenv() system call. If we allow the wxFileName::Normalize() routine to perform expansion // then we will have a race condition since wxWidgets does not assure a threadsafe wrapper