From: tomo Date: Wed, 19 Mar 2003 17:05:52 +0000 (+0000) Subject: (decode_add_er_char): Use XUINT instead of XINT for &MCS-XXXXXXXX; X-Git-Tag: r21-4-11-chise-0_21-=ucs-gb^2~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=86b9c03f060e9e8213b18d03451f6f9eca0dbd75;p=chise%2Fxemacs-chise.git (decode_add_er_char): Use XUINT instead of XINT for &MCS-XXXXXXXX; values. --- diff --git a/src/text-coding.c b/src/text-coding.c index 3808dde..19c6a31 100644 --- a/src/text-coding.c +++ b/src/text-coding.c @@ -1,7 +1,7 @@ /* Code conversion functions. Copyright (C) 1991, 1995 Free Software Foundation, Inc. Copyright (C) 1995 Sun Microsystems, Inc. - Copyright (C) 1999,2000,2001,2002 MORIOKA Tomohiko + Copyright (C) 1999,2000,2001,2002,2003 MORIOKA Tomohiko This file is part of XEmacs. @@ -3340,11 +3340,11 @@ decode_add_er_char (struct decoding_stream *str, Emchar c, string, Qnil, Qnil))) { int code - = XINT (Fstring_to_number - (Fsubstring (string, - Fmatch_beginning (make_int (1)), - Fmatch_end (make_int (1))), - make_int (16))); + = XUINT (Fstring_to_number + (Fsubstring (string, + Fmatch_beginning (make_int (1)), + Fmatch_end (make_int (1))), + make_int (16))); DECODE_ADD_UCS_CHAR (code, dst); }