X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=utf8.c;h=4efef6faf7c71f3201935f81611806af084c45d4;hb=fa2e71c9e794c43634670b62d1b4bf58d1ae7e60;hp=a2965c9c1106b7e772d9b53c8885d86320d18f07;hpb=31930b5beece8ff86f823b62cf0937e73e9494fa;p=git.git diff --git a/utf8.c b/utf8.c index a2965c9c1..4efef6faf 100644 --- a/utf8.c +++ b/utf8.c @@ -62,7 +62,7 @@ static int bisearch(ucs_char_t ucs, const struct interval *table, int max) { * in ISO 10646. */ -static int wcwidth(ucs_char_t ch) +static int git_wcwidth(ucs_char_t ch) { /* * Sorted list of non-overlapping intervals of non-spacing characters, @@ -207,7 +207,7 @@ invalid: return 0; } - return wcwidth(ch); + return git_wcwidth(ch); } int is_utf8(const char *text)