From: tomo Date: Thu, 23 Sep 1999 03:35:48 +0000 (+0000) Subject: (Fmake_reverse_direction_charset): Fix compile error with X-Git-Tag: r21-2-19-utf-2000-0_8-1~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=37f3ebdfb5a5f40ff3b34f051a8a137f335b5bc9;p=chise%2Fxemacs-chise.git.1 (Fmake_reverse_direction_charset): Fix compile error with non-UTF-2000-Mule. --- diff --git a/src/mule-charset.c b/src/mule-charset.c index cc808dd..ce916e9 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -2074,10 +2074,15 @@ NEW-NAME is the name of the new charset. Return the new charset. new_charset = make_charset (id, new_name, type, columns, graphic, final, direction, short_name, long_name, doc_string, registry, +#ifdef UTF2000 CHARSET_DECODING_TABLE(cs), CHARSET_UCS_MIN(cs), CHARSET_UCS_MAX(cs), - CHARSET_CODE_OFFSET(cs)); + CHARSET_CODE_OFFSET(cs) +#else + NULL, 0, 0, 0 +#endif +); CHARSET_REVERSE_DIRECTION_CHARSET (cs) = new_charset; XCHARSET_REVERSE_DIRECTION_CHARSET (new_charset) = charset;