summaryrefslogtreecommitdiff
path: root/src/ativalid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ativalid.c')
-rw-r--r--src/ativalid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ativalid.c b/src/ativalid.c
index adc87342..42ab3edf 100644
--- a/src/ativalid.c
+++ b/src/ativalid.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/ativalid.c,v 1.15 2003/01/01 19:16:34 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/ativalid.c,v 1.17 2003/10/30 17:36:58 tsi Exp $ */
/*
* Copyright 1997 through 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
*
@@ -34,7 +34,7 @@
*
* This checks for hardware-related limits on mode timings.
*/
-int
+ModeStatus
ATIValidMode
(
int iScreen,
@@ -102,7 +102,7 @@ ATIValidMode
(pMode->CrtcVDisplay > pATI->LCDVertical))
return MODE_PANEL;
- if (!pATI->OptionSync || (pMode->type & M_T_BUILTIN))
+ if (!pATI->OptionLCDSync || (pMode->type & M_T_BUILTIN))
{
if ((pMode->HDisplay > pATI->LCDHorizontal) ||
(pMode->VDisplay > pATI->LCDVertical))