diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:09:40 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:09:40 +0900 |
| commit | 8a755eddf5bf256613bc584f32cd44401a25897c (patch) | |
| tree | b5d92c6283e1b889bf50ff7056dfb1196e9277ac /column.c | |
| parent | af778cd9be6307e34f9f900fd42eb826c65b32da (diff) | |
| parent | 82689d5e5d3f41da2ab1fbf9fbe7aacfd6da74c1 (diff) | |
| download | git-8a755eddf5bf256613bc584f32cd44401a25897c.tar.gz | |
Sync with Git 2.31.6
Diffstat (limited to 'column.c')
| -rw-r--r-- | column.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ struct column_data { /* return length of 's' in letters, ANSI escapes stripped */ static int item_length(const char *s) { - return utf8_strnwidth(s, -1, 1); + return utf8_strnwidth(s, strlen(s), 1); } /* |
