diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-01-02 10:49:58 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-07 05:53:46 +0100 |
commit | 44b25b872f926ba92bae9ddf2495e7f59d0c96e2 (patch) | |
tree | 579d32398870dd862ea60008566dd498acad6902 /diff.c | |
parent | utf8: pick_one_utf8_char() (diff) | |
download | git-44b25b872f926ba92bae9ddf2495e7f59d0c96e2.tar.xz git-44b25b872f926ba92bae9ddf2495e7f59d0c96e2.zip |
utf8_width(): allow non NUL-terminated input
The original interface assumed that the input string is
always terminated with a NUL, but that wasn't too useful.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions