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() { |
149 | 149 | msppt) |
150 | 150 | if [ -n "$DISPLAY" ]; then |
151 | 151 | OOFFICE=`get_ooffice_executable` |
152 | | (${OOFFICE} %f >/dev/null 2>&1 &) |
| 152 | (${OOFFICE} "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
153 | 153 | else |
154 | 154 | tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX` |
155 | | ppthtml %f > "$tmp/page.html" |
| 155 | ppthtml "${MC_EXT_FILENAME}" > "$tmp/page.html" |
156 | 156 | elinks "$tmp/page.html" |
157 | 157 | rm -rf "$tmp" |
158 | 158 | fi |