summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>1999-05-10 08:09:39 +0000
committerroger <roger@FreeBSD.org>1999-05-10 08:09:39 +0000
commitad35492bf545b2cf005488715ba4dff48399f45b (patch)
treeafc25268bddc310f0131a35e2216081d8e369b1f /graphics
parent6e6376845efa8af0e6a1368fb1ed103935073988 (diff)
downloadFreeBSD-ports-ad35492bf545b2cf005488715ba4dff48399f45b.zip
FreeBSD-ports-ad35492bf545b2cf005488715ba4dff48399f45b.tar.gz
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>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fxtv/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/fxtv/files/patch-ab b/graphics/fxtv/files/patch-ab
new file mode 100644
index 0000000..9d861c6
--- /dev/null
+++ b/graphics/fxtv/files/patch-ab
@@ -0,0 +1,11 @@
+--- 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. */
OpenPOWER on IntegriCloud