From 043938ff1857f8583d6fd0c5faea0598d4e1982e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 5 Sep 2010 10:42:02 +0200 Subject: [PATCH] uniwidth/width: Update comment. * lib/uniwidth/width.c (uc_width): Update comment for Unicode >= 3.1. Reported by Emanuele Giaquinta . --- ChangeLog | 6 ++++++ lib/uniwidth/width.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40a6928b4a..31c34689c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-05 Bruno Haible + + uniwidth/width: Update comment. + * lib/uniwidth/width.c (uc_width): Update comment for Unicode >= 3.1. + Reported by Emanuele Giaquinta . + 2010-09-05 Bruno Haible isinf, isnan: Relax license. diff --git a/lib/uniwidth/width.c b/lib/uniwidth/width.c index c88fdb6662..52c3135e3e 100644 --- a/lib/uniwidth/width.c +++ b/lib/uniwidth/width.c @@ -332,8 +332,8 @@ uc_width (ucs4_t uc, const char *encoding) } } /* Test for double-width character. - * Generated from "grep '^....;[WF]' EastAsianWidth.txt" - * and "grep '^....;[^WF]' EastAsianWidth.txt" + * Generated from "grep '^[^;]\{4,5\};[WF]' EastAsianWidth.txt" + * and "grep '^[^;]\{4,5\};[^WF]' EastAsianWidth.txt" */ if (uc >= 0x1100 && ((uc < 0x1160) /* Hangul Jamo */ -- 2.30.2