From: Bruno Haible Date: Sun, 5 Sep 2010 08:42:02 +0000 (+0200) Subject: uniwidth/width: Update comment. X-Git-Tag: v0.1~3845 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=043938ff1857f8583d6fd0c5faea0598d4e1982e;p=gnulib.git uniwidth/width: Update comment. * lib/uniwidth/width.c (uc_width): Update comment for Unicode >= 3.1. Reported by Emanuele Giaquinta . --- diff --git a/ChangeLog b/ChangeLog index 40a6928b4..31c34689c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. * modules/isinf (License): Change from GPL to LGPL, with consent from Ben Pfaff. diff --git a/lib/uniwidth/width.c b/lib/uniwidth/width.c index c88fdb666..52c3135e3 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 */