summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index 7c395e3..d418f57 100644
--- a/src/text.c
+++ b/src/text.c
@@ -60,8 +60,10 @@ text_new(const char *string)
text->width = MAX(text->width, width);
width = 0;
++text->height;
+ ++string;
} else {
++width;
+ ++string;
}
}