projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490bd08
)
*** empty log message ***
author
handa
<handa>
Thu, 17 Jun 2004 23:42:06 +0000
(23:42 +0000)
committer
handa
<handa>
Thu, 17 Jun 2004 23:42:06 +0000
(23:42 +0000)
src/ChangeLog
patch
|
blob
|
history
src/character.h
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index
2e3c11e
..
b273f6c
100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2004-06-18 Kenichi Handa <handa@m17n.org>
+
+ * character.h (CHAR_STRING_UTF16): Fix syntax.
+
2004-06-16 Kenichi Handa <handa@m17n.org>
* Makefile.am (libm17n_gd_la_LIBADD): Delete it.
diff --git
a/src/character.h
b/src/character.h
index
5a4638a
..
9e35912
100644
(file)
--- 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))