From 37f3ebdfb5a5f40ff3b34f051a8a137f335b5bc9 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 23 Sep 1999 03:35:48 +0000 Subject: [PATCH] (Fmake_reverse_direction_charset): Fix compile error with non-UTF-2000-Mule. --- src/mule-charset.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 1.7.10.4