diff options
author | Ian Romanick <idr@us.ibm.com> | 2006-10-26 19:52:54 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2006-10-26 19:52:54 -0700 |
commit | d28c4a3307984b86e0f3cc68fa48cdc01e307a7c (patch) | |
tree | 72c1e829149d19cd0f34cddfacffb93d853fdc62 /src/mga_dacG.c | |
parent | 041910d3b9f6284b4b8a7df10f284528a7e79d12 (diff) |
Fix bug #8666. git-bisect for the win!
Since && takes precedence over ||, put parenthesis around the || block to
make all the operations associate in the intended manner.
Diffstat (limited to 'src/mga_dacG.c')
-rw-r--r-- | src/mga_dacG.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index 5f628f0..0caf9fe 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -763,7 +763,7 @@ MGA_NOT_HAL( continue; if (((pMga->Chipset == PCI_CHIP_MGAG200_SE_A_PCI) || (pMga->Chipset == PCI_CHIP_MGAG200_SE_B_PCI)) && - (i == 0x2C) || (i == 0x2D) || (i == 0x2E)) + ((i == 0x2C) || (i == 0x2D) || (i == 0x2E))) continue; outMGAdac(i, mgaReg->DacRegs[i]); } |