diff options
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 8fba8db5..93ee6211 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -306,7 +306,7 @@ static int advance (char const **str, gboolean utf8) c = g_utf8_get_char(*str); *str = g_utf8_next_char(*str); - return mk_wcwidth(c); + return unichar_isprint(c) ? mk_wcwidth(c) : 1; } else { *str += 1; |