1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/graphics/fxtv/files/patch-ab
Roger Hardiman 70b1b91263 Fix typo in function XUTILGetVisualBpp(), it causes fxtv to fail on
X server with both depth 8 and 24 visuals.

Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
1999-05-10 08:09:39 +00:00

12 lines
355 B
Plaintext

--- xutil.c.orig Thu May 6 12:13:10 1999
+++ xutil.c Thu May 6 01:41:39 1999
@@ -666,7 +666,7 @@
/* Look up cached value */
for ( i = 0; i < Vlist_len; i++ )
- if ( Vlist[i].visualid = vi->visualid )
+ if ( Vlist[i].visualid == vi->visualid )
break;
/* Didn't have a cached value? Go figure it out. */