Ticket #4475: docx.patch
File docx.patch, 625 bytes (added by pelya, 19 months ago) |
---|
-
misc/ext.d/doc.sh.in
diff --git a/misc/ext.d/doc.sh.in b/misc/ext.d/doc.sh.in index c296ca270..8baec0754 100644
a b do_view_action() { 52 52 fi 53 53 ;; 54 54 msdoc) 55 if which wvHtml >/dev/null 2>&1; then 55 OOFFICE=`get_ooffice_executable` 56 if [ -n "${OOFFICE}" ]; then 57 ${OOFFICE} --headless --cat "${MC_EXT_FILENAME}" 58 elif which wvHtml >/dev/null 2>&1; then 56 59 tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX` 57 60 wvHtml "${MC_EXT_FILENAME}" --targetdir="$tmp" page.html 58 61 elinks -dump "$tmp/page.html"