Mercurial > hg > xemacs-beta
changeset 3352:8dbdcd070418
[xemacs-hg @ 2006-04-22 15:18:54 by stephent]
Improved comment on internal Unicode tables.
<87zmidtzky.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sat, 22 Apr 2006 15:18:55 +0000 |
parents | 558805adfd90 |
children | 521d94807505 |
files | src/ChangeLog src/unicode.c |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Apr 21 21:51:20 2006 +0000 +++ b/src/ChangeLog Sat Apr 22 15:18:55 2006 +0000 @@ -1,3 +1,7 @@ +2006-04-17 Stephen J. Turnbull <stephen@xemacs.org> + + * unicode.c: Improve comment on to/from_unicode table design. + 2006-04-18 Jerry James <james@xemacs.org> * alsaplay.c: Explicitly include ALSA's version.h for older
--- a/src/unicode.c Fri Apr 21 21:51:20 2006 +0000 +++ b/src/unicode.c Sat Apr 22 15:18:55 2006 +0000 @@ -202,11 +202,10 @@ #ifdef MULE -/* #### Using ints for to_unicode is OK (as long as they are >= 32 bits). - However, shouldn't the shorts below be unsigned? - - Answer: Doesn't matter because the values being converted to are only - 96x96. */ +/* Using ints for to_unicode is OK (as long as they are >= 32 bits). + In from_unicode, we're converting from Mule characters, which means + that the values being converted to are only 96x96, and we can save + space by using shorts (signedness doesn't matter). */ static int *to_unicode_blank_1; static int **to_unicode_blank_2;