diff options
Diffstat (limited to 'src/support.c')
-rw-r--r-- | src/support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.c b/src/support.c index ebbff7348..3f30671f9 100644 --- a/src/support.c +++ b/src/support.c @@ -115,7 +115,7 @@ strscroll(char *str, char *separator, int width, scroll_state_t *st) tmp = g_malloc(size); g_strlcpy(tmp, str, size); g_strlcat(tmp, separator, size); - len = my_strlen(tmp); + len = utf8_width(tmp); if (st->offset >= len) st->offset = 0; |