utf8_width(): allow non NUL-terminated input
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2008 09:49:58 +0000 (01:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2008 04:53:46 +0000 (20:53 -0800)
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>
No differences found