From: handa Date: Thu, 17 Jun 2004 23:42:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: withdl~66 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2f5663ae6894ac71b0062131d2cc7b7352d34a60;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/src/ChangeLog b/src/ChangeLog index 2e3c11e..b273f6c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-06-18 Kenichi Handa + + * character.h (CHAR_STRING_UTF16): Fix syntax. + 2004-06-16 Kenichi Handa * Makefile.am (libm17n_gd_la_LIBADD): Delete it. diff --git a/src/character.h b/src/character.h index 5a4638a..9e35912 100644 --- a/src/character.h +++ b/src/character.h @@ -246,7 +246,7 @@ #define CHAR_STRING_UTF16(c, p) \ ((c) < 0x10000 ? (p)[0] = (c), 1 \ - ? (p[0] = (((c) - 0x10000) >> 10) + 0xD800, \ + : (p[0] = (((c) - 0x10000) >> 10) + 0xD800, \ p[1] = (((c) - 0x10000) & 0x3FF) + 0xDC00, \ 2))