1
0
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:
Roger Hardiman 1999-05-10 08:09:39 +00:00
parent afc412e720
commit 70b1b91263
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18725
2 changed files with 22 additions and 0 deletions

View 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. */

View 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. */