[PATCH] Fix ambiguous operator precedence.

Alex Villacís Lasso alex at karlalex.palosanto.com
Fri Jan 11 19:36:15 PST 2008


---
 src/savage_video.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/savage_video.c b/src/savage_video.c
index 511c820..cb944a4 100644
--- a/src/savage_video.c
+++ b/src/savage_video.c
@@ -1466,7 +1466,7 @@ SavageDisplayVideoOld(
     if( psav->videoFourCC != id )
       SavageStreamsOff(pScrn);
 
-    if( !psav->videoFlags & VF_STREAMS_ON )
+    if( !(psav->videoFlags & VF_STREAMS_ON) )
       {
         SavageSetBlend(pScrn,id);
 	SavageStreamsOn(pScrn);
@@ -1609,7 +1609,7 @@ SavageDisplayVideoNew(
     if( psav->videoFourCC != id )
       SavageStreamsOff(pScrn);
 
-    if( !psav->videoFlags & VF_STREAMS_ON )
+    if( !(psav->videoFlags & VF_STREAMS_ON) )
       {
 	SavageSetBlend(pScrn,id);
 	SavageStreamsOn(pScrn);
@@ -1743,7 +1743,7 @@ SavageDisplayVideo2000(
     if( psav->videoFourCC != id )
         SavageStreamsOff(pScrn);
                                                                                                                              
-    if( !psav->videoFlags & VF_STREAMS_ON )
+    if( !(psav->videoFlags & VF_STREAMS_ON) )
     {
         SavageSetBlend(pScrn,id);
         SavageStreamsOn(pScrn);
-- 
1.5.3.7


--------------040803000005080906040303--


More information about the xorg mailing list