diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 16:06:03 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 16:06:03 (EDT) |
commit | eb0666356ad010478dc51f32dfdef09f256721cf (patch) | |
tree | 2a0ecb72720d319f7937057915bcef7d6eafbca5 /src | |
parent | cb08171e0f572fa2ba7e5dcafe1eb27dba1b124a (diff) |
text_new(): Increment through string
Diffstat (limited to 'src')
-rw-r--r-- | src/text.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,8 +60,10 @@ text_new(const char *string) text->width = MAX(text->width, width); width = 0; ++text->height; + ++string; } else { ++width; + ++string; } } |