aboutsummaryrefslogtreecommitdiffstats
path: root/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo.c')
-rw-r--r--demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.c b/demo.c
index 063721c..4920de1 100644
--- a/demo.c
+++ b/demo.c
@@ -54,7 +54,7 @@ main(void)
((uint8_t *)image.image)[i + 3] = 250U;
}
- if (libskrift_draw_text(ctx, "hello world", &colour, 0, 300, &image) < 0) {
+ if (libskrift_draw_text(ctx, "hello world", strlen("hello world"), &colour, 0, 300, &image) < 0) {
perror("libskrift_draw_text");
return -1;
}