aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5cb401d..dad91f1 100644
--- a/main.c
+++ b/main.c
@@ -72,7 +72,7 @@ drawcanvas(Canvas *c)
for(l = c->layers.next; l != &c->layers; l = l->next)
drawlayer(c, l);
- draw(screen, screen->r, c->image, nil, ZP);
+ draw(screen, rectaddpt(c->image->r, toscreen(c->p)), c->image, nil, ZP);
}
void