summaryrefslogtreecommitdiff
path: root/src/mga_dacG.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-10-26 19:52:54 -0700
committerIan Romanick <idr@us.ibm.com>2006-10-26 19:52:54 -0700
commitd28c4a3307984b86e0f3cc68fa48cdc01e307a7c (patch)
tree72c1e829149d19cd0f34cddfacffb93d853fdc62 /src/mga_dacG.c
parent041910d3b9f6284b4b8a7df10f284528a7e79d12 (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.c2
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]);
}