From bbfc1eb12c060c76e8696458cf4248eb91b8eb8b Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 26 Jul 2018 12:04:54 +0200 Subject: [PATCH] Use quoted file name when opening a PDF file Fixes: lp:1783667 * https://bugs.launchpad.net/kicad/+bug/1783667 --- common/gestfich.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gestfich.cpp b/common/gestfich.cpp index 8a853f7c95..ef5e425180 100644 --- a/common/gestfich.cpp +++ b/common/gestfich.cpp @@ -358,7 +358,7 @@ bool OpenPDF( const wxString& file ) } else { - if( wxLaunchDefaultApplication( file ) ) + if( wxLaunchDefaultApplication( filename ) ) return true; // If launching the system default PDF viewer fails, fall through with empty command