From 6488260185cecc4bf576235918247dfd52029c60 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 31 Aug 2020 16:54:51 +0100 Subject: [PATCH] Fix another signed/unsigned compare which will never work. --- pcbnew/dialogs/dialog_export_step.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_export_step.cpp b/pcbnew/dialogs/dialog_export_step.cpp index 9a5ede7273..f40fd865ce 100644 --- a/pcbnew/dialogs/dialog_export_step.cpp +++ b/pcbnew/dialogs/dialog_export_step.cpp @@ -271,7 +271,7 @@ void DIALOG_EXPORT_STEP::onExportButton( wxCommandEvent& aEvent ) #ifdef __WXMAC__ // On macOS, we have standalone applications inside the main bundle, so we handle that here: - if( appK2S.GetPath().find( "/Contents/Applications/pcbnew.app/Contents/MacOS" ) != wxNOT_FOUND ) + if( appK2S.GetPath().Find( "/Contents/Applications/pcbnew.app/Contents/MacOS" ) != wxNOT_FOUND ) { appK2S.AppendDir( ".." ); appK2S.AppendDir( ".." );