summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-01-23 15:49:58 +0100
committerAlex Deucher <alexdeucher@gmail.com>2011-01-25 13:27:38 -0500
commit3f18b334812086e5f487a4570a34a3906a67724c (patch)
tree3e4b558f80536d4ef9608c8c69dd2a2faecb3872
parent6f8aa9c90cccbd893323f5f1892958b7f46e400d (diff)
savage: Fix ambiguity in SavageLoadPaletteSavage4
It looks like "!" was meant for logic negation and the parentheses were wrong. I don't have a Savage 4 so I can't check if this fixes or breaks anything.
-rw-r--r--src/savage_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index b0b26b9..38db9f6 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -4295,7 +4295,7 @@ void SavageLoadPaletteSavage4(ScrnInfoPtr pScrn, int numColors, int *indicies,
VerticalRetraceWait();
for (i=0; i<numColors; i++) {
- if (!(inStatus1()) & 0x08)
+ if (!(inStatus1() & 0x08))
VerticalRetraceWait();
index = indicies[i];
VGAOUT8(0x3c8, index);