about summary refs log tree commit diff
path: root/editor/pnmmargin
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pnmmargin')
-rwxr-xr-xeditor/pnmmargin5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/pnmmargin b/editor/pnmmargin
index e8851bda..6b30c074 100755
--- a/editor/pnmmargin
+++ b/editor/pnmmargin
@@ -101,8 +101,9 @@ else
     pamflip -rotate90 $tmp2 > $tmp3
 
     # Cat things together.
-    pnmcat -lr $tmp2 $tmp1 $tmp2 > $tmp4
-    pnmcat -tb $plainopt $tmp3 $tmp4 $tmp3
+    pamcat -extendplane -leftright $tmp2 $tmp1 $tmp2 > $tmp4
+    pamcat -extendplane -topbottom $tmp3 $tmp4 $tmp3 | \
+      pnmtopnm $plainopt
 fi