aboutsummaryrefslogtreecommitdiff
path: root/canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'canvas.c')
-rw-r--r--canvas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/canvas.c b/canvas.c
index a017fb0..abd0089 100644
--- a/canvas.c
+++ b/canvas.c
@@ -27,4 +27,5 @@ newcanvas(Point2 p, Rectangle r, ulong chan)
memset(&c->layers, 0, sizeof(Layer));
c->layers.next = &c->layers;
c->layers.prev = &c->layers;
+ return c;
}