Ticket #1447: 0003-Fix-whitespaces.patch

File 0003-Fix-whitespaces.patch, 996 bytes (added by mj41, 21 months ago)
  • Padre/lib/Padre/Wx/Main.pm

    From 58821e7aa70060a63a29caa28c370cc6aa359646 Mon Sep 17 00:00:00 2001
    From: Michal Jurosz <mj@mj41.cz>
    Date: Sat, 11 Aug 2012 21:16:34 +0200
    Subject: [PATCH 3/4] Fix whitespaces.
    
    ---
     Padre/lib/Padre/Wx/Main.pm |    5 +++--
     1 files changed, 3 insertions(+), 2 deletions(-)
    
    diff --git a/Padre/lib/Padre/Wx/Main.pm b/Padre/lib/Padre/Wx/Main.pm
    index a52feae..fb68314 100644
    a b sub run_command { 
    29502950            # tome 
    29512951            my $pwd = $self->current->document->project_dir(); 
    29522952            $cmd =~ s/"/\\"/g; 
     2953 
    29532954            # Applescript can throw spurious errors on STDERR: http://helpx.adobe.com/photoshop/kb/unit-type-conversion-error-applescript.html 
    2954             system qq(osascript -e 'tell app "Terminal"\n\tdo script "cd $pwd; clear; $cmd;"\nend tell'\n);  
    2955      
     2955            system qq(osascript -e 'tell app "Terminal"\n\tdo script "cd $pwd; clear; $cmd;"\nend tell'\n); 
     2956 
    29562957        } else { 
    29572958            system qq(xterm -sb -e "$cmd; sleep 1000" &); 
    29582959        }