Mercurial > emacs
changeset 89056:496be2b262c6
(casify_object): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 03 Sep 2002 04:07:54 +0000 |
parents | 77ff0866e8b1 |
children | 08f4bdc64a89 |
files | src/casefiddle.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/casefiddle.c Tue Sep 03 04:07:33 2002 +0000 +++ b/src/casefiddle.c Tue Sep 03 04:07:54 2002 +0000 @@ -55,18 +55,14 @@ c1 = XFASTINT (obj) & ~flagbits; if (! multibyte) - { - MAKE_CHAR_UNIBYTE (c1); - } + MAKE_CHAR_MULTIBYTE (c1); c = DOWNCASE (c1); if (inword || c == c1) { if (! inword) c = UPCASE1 (c1); if (! multibyte) - { - MAKE_CHAR_MULTIBYTE (c); - } + MAKE_CHAR_UNIBYTE (c); XSETFASTINT (obj, c | flags); } return obj;