Ticket #3005: 0001-Fix-ext.d-doc-msppt.patch

File 0001-Fix-ext.d-doc-msppt.patch, 919 bytes (added by gv, 11 years ago)

Fix.

  • misc/ext.d/doc.sh.in

    From 7be75eba442f35508824472983e2657c6a3336fa Mon Sep 17 00:00:00 2001
    From: Gabriel VLASIU <gabriel@vlasiu.net>
    Date: Mon, 22 Apr 2013 14:00:09 +0300
    Subject: [PATCH 1/1] Fix msppt.
    
    ---
     misc/ext.d/doc.sh.in | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/misc/ext.d/doc.sh.in b/misc/ext.d/doc.sh.in
    index bfecfc0..1eca4b3 100644
    a b do_open_action() { 
    149149    msppt) 
    150150        if [ -n "$DISPLAY" ]; then 
    151151            OOFFICE=`get_ooffice_executable` 
    152             (${OOFFICE} %f >/dev/null 2>&1 &) 
     152            (${OOFFICE} "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    153153        else 
    154154            tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX` 
    155             ppthtml %f > "$tmp/page.html" 
     155            ppthtml "${MC_EXT_FILENAME}" > "$tmp/page.html" 
    156156            elinks "$tmp/page.html" 
    157157            rm -rf "$tmp" 
    158158        fi