changeset 71807:682a51aa586a

(thumbs-call-convert): Use shell-command-switch.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 12 Jul 2006 00:24:14 +0000
parents 79ed8e1b0d19
children 26666ead97c8
files lisp/thumbs.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/thumbs.el	Wed Jul 12 00:23:48 2006 +0000
+++ b/lisp/thumbs.el	Wed Jul 12 00:24:14 2006 +0000
@@ -256,7 +256,7 @@
 			 filein
 			 (or output-format "jpeg")
 			 fileout)))
-    (call-process shell-file-name nil nil nil "-c" command)))
+    (call-process shell-file-name nil nil nil shell-command-switch command)))
 
 (defun thumbs-new-image-size (s increment)
   "New image (a cons of width x height)."