utf8: use ARRAY_SIZE() in git_wcwidth()
authorBeat Bolli <dev+git@drbeat.li>
Fri, 11 Oct 2019 18:41:23 +0000 (20:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 12 Oct 2019 01:57:39 +0000 (10:57 +0900)
commitfa364ad790ae0a778ba14b5e5fc9fe910ab4b67e
tree78a36c310602624b8061a85d9651e22f54c27ed9
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
utf8: use ARRAY_SIZE() in git_wcwidth()

This macro has been available globally since b4f2a6ac92 ("Use #define
ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))", 2006-03-09), so let's use it.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
utf8.c