From cde62d5a35adba96618b2f2e42fc6cff50bbe418 Mon Sep 17 00:00:00 2001
From: paul <paul@plutz.net>
Date: Tue, 11 Dec 2012 01:16:50 +0000
Subject: [PATCH] swithed the meaning of the hjust parameter back so that the
 value accords to the image distance from the viewer

svn path=/trunk/; revision=12
---
 stereofy.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stereofy.sh b/stereofy.sh
index 4e2da59..9b4fcff 100755
--- a/stereofy.sh
+++ b/stereofy.sh
@@ -87,10 +87,10 @@ elif [ "$vert" -lt 0 ]; then
 fi
 if [ "$hor" -gt 0 ]; then
   width=$(($width - $hor / 2))
-  rhoff=$(($hor / 2))
+  lhoff=$(($hor / 2))
 elif [ "$hor" -lt 0 ]; then
   width=$(($width - $hor / -2))
-  lhoff=$(($hor / -2))
+  rhoff=$(($hor / -2))
 fi
 geom="${width}x${height}"
 lcrop="${geom}+${lhoff}+${lvoff}"
-- 
2.39.5