diff options
Diffstat (limited to 'src/string.cc')
| -rw-r--r-- | src/string.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cc b/src/string.cc index f3166895..7cc24e2c 100644 --- a/src/string.cc +++ b/src/string.cc @@ -384,7 +384,7 @@ String expand_tabs(StringView line, ColumnCount tabstop, ColumnCount col) auto char_beg = it; auto cp = utf8::read_codepoint(it, end); res += {char_beg, it}; - col += get_width(cp); + col += codepoint_width(cp); } } return res; |
