Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
3695:42e4605ef1de | 3696:ec0171167c5d |
---|---|
243 } | 243 } |
244 | 244 |
245 if (translate_to_ucs_2) | 245 if (translate_to_ucs_2) |
246 { | 246 { |
247 UINT_16_BIT ucs2; | 247 UINT_16_BIT ucs2; |
248 #ifdef MULE | |
248 int ucs = ichar_to_unicode(ch); | 249 int ucs = ichar_to_unicode(ch); |
249 | 250 #else |
251 int ucs = ch; | |
252 #endif | |
250 /* If UCS is less than zero or greater than 0xFFFF, set ucs2 to | 253 /* If UCS is less than zero or greater than 0xFFFF, set ucs2 to |
251 REPLACMENT CHARACTER. */ | 254 REPLACMENT CHARACTER. */ |
252 ucs2 = (ucs & ~0xFFFF) ? 0xFFFD : ucs; | 255 ucs2 = (ucs & ~0xFFFF) ? 0xFFFD : ucs; |
253 | 256 |
254 /* Ignoring the "graphic" handling. */ | 257 /* Ignoring the "graphic" handling. */ |