diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-04-24 22:09:57 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-04-24 22:09:57 +0100 |
commit | 4ab208ecc8071e7f2052b726fe11fc84d6945bab (patch) | |
tree | 45f35aea92e31d773d39765b6db89fb846245b9e /format-draw.c | |
parent | c86936613366fe1a0d7a4a2d4ae628d04cd3b866 (diff) | |
parent | 6aa0bedad281cef0e9411f3530052d09bbc583f1 (diff) | |
download | rtmux-4ab208ecc8071e7f2052b726fe11fc84d6945bab.tar.gz rtmux-4ab208ecc8071e7f2052b726fe11fc84d6945bab.tar.bz2 rtmux-4ab208ecc8071e7f2052b726fe11fc84d6945bab.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'format-draw.c')
-rw-r--r-- | format-draw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/format-draw.c b/format-draw.c index b0b050f6..51404254 100644 --- a/format-draw.c +++ b/format-draw.c @@ -837,7 +837,8 @@ format_trim_left(const char *expanded, u_int limit) *out++ = *cp; width++; cp++; - } + } else + cp++; } *out = '\0'; return (copy); @@ -883,7 +884,8 @@ format_trim_right(const char *expanded, u_int limit) *out++ = *cp; width++; cp++; - } + } else + cp++; } *out = '\0'; return (copy); |