Fix non-MULE Xft build

Michael Sperber sperber at informatik.uni-tuebingen.de
Sat Nov 18 14:22:57 EST 2006


Stephen, could you review this?

 2006-11-18  Mike Sperber  <mike at xemacs.org>
 
	* redisplay-x.c (separate_textual_runs): Don't try to call
	ichar_to_unicode on non-MULE.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-------------- next part --------------
Index: src/redisplay-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/redisplay-x.c,v
retrieving revision 1.44
diff -u -r1.44 redisplay-x.c
--- src/redisplay-x.c	5 Nov 2006 22:31:45 -0000	1.44
+++ src/redisplay-x.c	18 Nov 2006 19:22:03 -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;


More information about the XEmacs-Patches mailing list