[xorg-commit-diffs] xc/lib/Xst Xst_conv.c,1.1.4.1,1.1.4.2

Jay Hobson xorg-commit at pdx.freedesktop.org
Thu Apr 8 12:51:00 PDT 2004


Committed by: jhobson

Update of /cvs/xorg/xc/lib/Xst
In directory pdx:/tmp/cvs-serv11551

Modified Files:
      Tag: XORG-RELEASE-1-STSF
	Xst_conv.c 
Log Message:
Fix for bug 409. xstls -f or xstls -ff shows no font names



Index: Xst_conv.c
===================================================================
RCS file: /cvs/xorg/xc/lib/Xst/Attic/Xst_conv.c,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/Xst_conv.c	6 Apr 2004 02:41:19 -0000	1.1.4.1
+++ b/Xst_conv.c	8 Apr 2004 19:50:58 -0000	1.1.4.2
@@ -337,7 +337,7 @@
     *oStringLength = 0;
 
 #ifdef USEICU
-#ifndef sun
+#ifdef i386
     for ( i = 0; i < iStringLength / 2; i++ )  /** Fix this for 4 byte utf16 chars **/
     {
         tutf16[i] = ntohs ( tutf16[i] );
@@ -533,7 +533,7 @@
     oUtf16         = utf16be;
     iString        = tchar;
 
-#ifndef sun
+#ifdef i386
     for ( i = 0; i < *oStringLength / 2; i++ ) /** here too **/
     {
         oUtf16[i] = htons ( oUtf16[i] );




More information about the xorg-commit-diffs mailing list