Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: fix for corrupted fonts for alpha
Date: Sun, 5 May 1996 22:49:42 +0200 (MET DST)	[thread overview]
Message-ID: <1cc09e746725c76f44cb7c88d8bfccaa.axp-list@archive.invalid> (raw)

below is the fix for the corrupted fonts e.g. in the "control-panel"
and a second small one.

-------------------------------------------------------------------------------
diff -u /mnt/new/x/xc/programs/Xserver/cfb/cfb8bit.h /soft/r6/xc/programs/Xserver/cfb/cfb8bit.h
--- /mnt/new/x/xc/programs/Xserver/cfb/cfb8bit.h	Tue Jan 16 19:21:50 1996
+++ /soft/r6/xc/programs/Xserver/cfb/cfb8bit.h	Sun May  5 22:07:49 1996
@@ -394,7 +394,7 @@
 	        break;						\
 	    case 6:						\
 	        ((CARD8 *) (dst))[SinglePixel5] = (pixel);	\
-	        ((CARD8 *) (dst))[SinglePixel7] = (pixel);	\
+	        ((CARD8 *) (dst))[SinglePixel6] = (pixel);	\
 	        break;						\
 	    case 7:						\
 	        ((CARD16 *) (dst))[DoublePixel2] = (pixel);	\
--- /mnt/new/x/xc/programs/Xserver/dix/window.c	Sat Apr 27 20:44:51 1996
+++ xc/programs/Xserver/dix/window.c	Mon Apr 29 23:38:32 1996
@@ -1126,14 +1126,14 @@
 	    pWin->forcedBS = FALSE;
 	    break;
 	  case CWBackingPlanes:
-	    if (pWin->optional || ((CARD32)*pVlist != ~0L)) {
+	    if (pWin->optional || ((CARD32)*pVlist != (CARD32)~0L)) {
 		if (!pWin->optional && !MakeWindowOptional (pWin))
 		{
 		    error = BadAlloc;
 		    goto PatchUp;
 		}
 		pWin->optional->backingBitPlanes = (CARD32) *pVlist;
-		if ((CARD32)*pVlist == ~0L)
+		if ((CARD32)*pVlist == (CARD32)~0L)
 		    checkOptional = TRUE;
 	    }
 	    pVlist++;

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

             reply	other threads:[~1996-05-05 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-05 20:49 Harald Koenig [this message]
     [not found] <9605052044.AA01968@nova.tat.physik.uni-tuebingen.de>
1996-05-05 21:48 ` fix for corrupted fonts for alpha Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1996-05-06 15:55 Stefan Kanthak
1996-05-06 11:48 ` Harald Koenig
     [not found] <Pine.LNX.3.91.960505174749.6989E-100000@redhat.com>
1996-05-06 17:09 ` Harald Koenig
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox