| author | Junio C Hamano <gitster@pobox.com> | |
| Wed, 2 Jan 2008 09:49:58 +0000 (01:49 -0800) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Mon, 7 Jan 2008 04:53:46 +0000 (20:53 -0800) | ||
| commit | 44b25b872f926ba92bae9ddf2495e7f59d0c96e2 | |
| tree | 579d32398870dd862ea60008566dd498acad6902 | tree | snapshot |
| parent | 396ccf1fcb91f31d5060555cbffc35bf24172a35 | commit | diff |
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>
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>
| utf8.c | diff | blob | history | |
| utf8.h | diff | blob | history |