mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
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>
This commit is contained in:
parent
afc412e720
commit
70b1b91263
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18725
11
graphics/fxtv/files/patch-ab
Normal file
11
graphics/fxtv/files/patch-ab
Normal file
@ -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. */
|
11
multimedia/fxtv/files/patch-ab
Normal file
11
multimedia/fxtv/files/patch-ab
Normal file
@ -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. */
|
Loading…
Reference in New Issue
Block a user