summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-12-26 22:14:57 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-12-26 22:14:57 +0100
commit876657e613de6d9dd906c95e05fc590a84d1c322 (patch)
tree83841f15fcff0f0be8a940ef422aa4ab878b000e
parent7d676a830a9b0c5593e144e15a14dc4aa6bc5ab7 (diff)
Fixed a typo that caused MGAREG_C2OFFSET to be set to a bad value.
Unfortunately, this doesn't fix any bugs because afterwards, the correct value would be stored in MGAREG_C2OFFSET anyway.
-rw-r--r--src/mga_dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dh.c b/src/mga_dh.c
index b05c584..8cfd54c 100644
--- a/src/mga_dh.c
+++ b/src/mga_dh.c
@@ -207,7 +207,7 @@ void MGACRTC2Set(ScrnInfoPtr pScrn, xMODEINFO *pModeInfo)
/** Offset value*/
- OUTREG(MGAREG_C2OFFSET, pReg->crtc2[MGAREG2_C2VSYNC]);
+ OUTREG(MGAREG_C2OFFSET, pReg->crtc2[MGAREG2_C2OFFSET]);
#ifdef DEBUG
ErrorF("EXIT MGACRTC2Set\n");
#endif