aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/page/rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/page/rotate.c')
-rw-r--r--src/cmd/page/rotate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd/page/rotate.c b/src/cmd/page/rotate.c
index 48087348..3ac83a1f 100644
--- a/src/cmd/page/rotate.c
+++ b/src/cmd/page/rotate.c
@@ -85,21 +85,18 @@ void
interlace(Image *im, Image *tmp, int axis, int n, Image *mask, int gran)
{
Point p0, p1;
- Rectangle r0, r1;
+ Rectangle r0;
r0 = im->r;
- r1 = im->r;
switch(axis) {
case Xaxis:
r0.max.x = n;
- r1.min.x = n;
p0 = (Point){gran, 0};
p1 = (Point){-gran, 0};
break;
case Yaxis:
default:
r0.max.y = n;
- r1.min.y = n;
p0 = (Point){0, gran};
p1 = (Point){0, -gran};
break;