diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:23:36 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:23:36 +0900 |
| commit | fea9f607a88dc43e479c7c9105663f28b8a0deb9 (patch) | |
| tree | 59d27e9fbd4f3a182861b3530b17e0c8d7c12b18 /column.c | |
| parent | 8706a59933d09354c5e3eb09a543453655a97183 (diff) | |
| parent | e43ac5f23d3231f6433558931296d555592e978a (diff) | |
| download | git-fea9f607a88dc43e479c7c9105663f28b8a0deb9.tar.xz | |
Sync with Git 2.37.5
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); } /* |
