From c088de5f75806d84bc265924239c72ea608ad41b Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sun, 19 Sep 2021 08:41:10 -0700 Subject: [PATCH] Fix compile issues on non-mac --- common/launch_ext.cpp | 2 +- kicad/project_tree_pane.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/launch_ext.cpp b/common/launch_ext.cpp index 88ecc97fa6..3b1981023a 100644 --- a/common/launch_ext.cpp +++ b/common/launch_ext.cpp @@ -37,7 +37,7 @@ void LaunchExternal( const wxString& aPath ) // Not needed on 3.1.4, but needed in 3.0 versions // Moreover, on Linux, on 3.1.4 wx version, adding quotes breaks // wxLaunchDefaultApplication - AddDelimiterString( path ); + QuoteString( path ); #endif wxLaunchDefaultApplication( path ); diff --git a/kicad/project_tree_pane.cpp b/kicad/project_tree_pane.cpp index 685d3600d1..4c86a956df 100644 --- a/kicad/project_tree_pane.cpp +++ b/kicad/project_tree_pane.cpp @@ -230,7 +230,7 @@ void PROJECT_TREE_PANE::onOpenDirectory( wxCommandEvent& event ) // Not needed on 3.1.4, but needed in 3.0 versions // Moreover, on Linux, on 3.1.4 wx version, adding quotes breaks // wxLaunchDefaultApplication - AddDelimiterString( curr_dir ); + QuoteString( curr_dir ); #endif wxLaunchDefaultApplication( curr_dir );