summaryrefslogtreecommitdiff
path: root/image/svg.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/svg.c')
-rw-r--r--image/svg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/image/svg.c b/image/svg.c
index 37f4487db..69933ecfe 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -133,6 +133,8 @@ bool svg_redraw(struct content *c, int x, int y,
diagram->shape[i].text,
strlen(diagram->shape[i].text),
0xffffff, 0x000000);
+ if (!ok)
+ return false;
}
}