diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/text.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ text_new(const char *string) } } else if (*string == '\n') { text->width = MAX(text->width, width); + width = 0; ++text->height; } else { ++width; |