# HG changeset patch # User Bruno Haible # Date 1219573616 -7200 # Node ID 259e0fdc6c66f334ecc072b357fc9f6782271b79 # Parent a34661f8b5c82642bb7960e667835157128492a0 Fix uc_width(0x00AB) bug, introduced on 2007-07-08. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-24 Bruno Haible + + Fix uc_width(0x00AB) bug, introduced on 2007-07-08. + * lib/uniwidth/width.c (nonspacing_table_data): Set bit for 0x00AD, + not 0x00AB. + 2008-08-22 Eric Blake test-lock, test-tls: mention why a test is skipped diff --git a/lib/uniwidth/width.c b/lib/uniwidth/width.c --- a/lib/uniwidth/width.c +++ b/lib/uniwidth/width.c @@ -1,5 +1,5 @@ /* Determine display width of Unicode character. - Copyright (C) 2001-2002, 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software: you can redistribute it and/or modify it @@ -36,7 +36,7 @@ /* 0x0000-0x01ff */ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, /* 0x0000-0x003f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0x0040-0x007f */ - 0xff, 0xff, 0xff, 0xff, 0x00, 0x08, 0x00, 0x00, /* 0x0080-0x00bf */ + 0xff, 0xff, 0xff, 0xff, 0x00, 0x20, 0x00, 0x00, /* 0x0080-0x00bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00c0-0x00ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0100-0x013f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0140-0x017f */