Mercurial > hg > xemacs-beta
diff src/redisplay-x.c @ 3696:ec0171167c5d
[xemacs-hg @ 2006-11-23 18:38:50 by michaels]
2006-11-18 Mike Sperber <mike@xemacs.org>
* redisplay-x.c (separate_textual_runs): Don't try to call
ichar_to_unicode on non-MULE.
author | michaels |
---|---|
date | Thu, 23 Nov 2006 18:38:52 +0000 |
parents | 98af8a976fc3 |
children | a3c2418313d5 |
line wrap: on
line diff
--- a/src/redisplay-x.c Thu Nov 23 13:43:29 2006 +0000 +++ b/src/redisplay-x.c Thu Nov 23 18:38:52 2006 +0000 @@ -245,8 +245,11 @@ if (translate_to_ucs_2) { UINT_16_BIT ucs2; +#ifdef MULE int ucs = ichar_to_unicode(ch); - +#else + int ucs = ch; +#endif /* If UCS is less than zero or greater than 0xFFFF, set ucs2 to REPLACMENT CHARACTER. */ ucs2 = (ucs & ~0xFFFF) ? 0xFFFD : ucs;