[Xorg-commit] xc/programs/Xserver/Xprint/pcl PclSFonts.c,1.1.4.2,1.1.4.3

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007


Committed by: kaleb

Update of /cvs/xorg/xc/programs/Xserver/Xprint/pcl
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/programs/Xserver/Xprint/pcl

Modified Files:
      Tag: XORG-CURRENT
	PclSFonts.c 
Log Message:
merge most of XFree86 RC3 (4.3.99.903) from vendor branch.
bug #214


Index: PclSFonts.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/Xprint/pcl/PclSFonts.c,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/PclSFonts.c	26 Nov 2003 22:48:41 -0000	1.1.4.2
+++ b/PclSFonts.c	23 Feb 2004 21:35:00 -0000	1.1.4.3
@@ -45,7 +45,7 @@
 dealings in this Software without prior written authorization from said
 copyright holders.
 */
-/* $XFree86: xc/programs/Xserver/Xprint/pcl/PclSFonts.c,v 1.7 2003/10/29 22:11:00 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/Xprint/pcl/PclSFonts.c,v 1.8 2003/12/22 17:48:05 tsi Exp $ */
 
 
 #include <stdio.h>
@@ -58,7 +58,6 @@
 
 #define ESC 0x1b
 #define SYMBOL_SET 277
-#define MAX_CINDEX 255
 
 static unsigned int PclDownloadChar(FILE *,PclCharDataPtr,unsigned short,unsigned char);
 static unsigned int PclDownloadHeader(FILE *, PclFontDescPtr, unsigned short);
@@ -117,8 +116,6 @@
     }
     pfh->index[row][col].fid = pfh->cur_fid;
     pfh->index[row][col].cindex = pfh->cur_cindex++;
-    if ( pfh->cur_cindex > MAX_CINDEX )
-	pfh->cur_cindex = 0;
 
     PclDownloadChar(fp, pcd, pfh->index[row][col].fid, pfh->index[row][col].cindex);
 }





More information about the xorg-commit mailing list