X-Git-Url: http://git.plutz.net/?p=stereofy;a=blobdiff_plain;f=stereofy.sh;fp=stereofy.sh;h=9b4fcffcf9ca0b5ba5dee49b0a99e9c32e64fd77;hp=4e2da59f3e5077b3acc85307fd7557c23e6a4a0c;hb=cde62d5a35adba96618b2f2e42fc6cff50bbe418;hpb=dd9163bfcca6056bf4def621010c751b0e251cdc 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}"