aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-s3virge/files/patch-src_s3v__driver.c
blob: d601d716cf96b2f1a246aaa1f4cff893985c2396 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Remove extra parenthesis to clear a style warning
#
--- src/s3v_driver.c.orig	2019-02-19 03:28:50.953742000 +0000
+++ src/s3v_driver.c	2019-02-19 03:29:09.119821000 +0000
@@ -2848,7 +2848,7 @@
 	  else
 	     new->CR67 = 0x50 | 0x4;                  /* 16bpp */
           }
-       else if ((pScrn->bitsPerPixel == 24) ) {
+       else if (pScrn->bitsPerPixel == 24) {
 	 new->CR67 = 0x74;              /* 24bpp, STREAMS */
 	  					/* Flag STREAMS proc. required */
           ps3v->NeedSTREAMS = TRUE;