summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-09-30 16:04:36 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-09-30 16:04:36 +0000
commit6b44184b17d796fca58323807e7df28efe53b57e (patch)
tree2ef03daa4d6286e7bcc3bd4bddca750e8f4c6aeb /src/savage_driver.c
parentd88b1abf40905ff9b343b047c34460162017ddfc (diff)
build fix
Diffstat (limited to 'src/savage_driver.c')
-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 c7ff0a2..2c3636f 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -1899,7 +1899,7 @@ static Bool SavageEnterVT(int scrnIndex, int flags)
psav->LockHeld = 0;
}
#endif
- if (!psav->IsSecondary)
+ if (!SAVPTR(pScrn)->IsSecondary)
SavageSave(pScrn);
if(SavageModeInit(pScrn, pScrn->currentMode)) {
/* some BIOSes seem to enable HW cursor on PM resume */