summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2008-03-07 14:10:49 -0500
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2008-03-07 14:10:49 -0500
commitc28c30c9f3d7bfebfd56a5c982c96f0090982054 (patch)
treec0a8d2c07599d348cbd4807f8cf753e376545da6 /src/radeon_driver.c
parentc3a3635865e380c784a226c8ead069d4716d6b75 (diff)
RADEON: Fix crash in last commit
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index f7fc1918..de81b2d5 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2220,7 +2220,7 @@ static void RADEONPreInitColorTiling(ScrnInfoPtr pScrn)
info->pKernelDRMVersion->version_minor,
info->pKernelDRMVersion->version_patchlevel);
info->allowColorTiling = FALSE;
- return;
+ return;
}
#endif /* XF86DRI */
@@ -2687,7 +2687,7 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
if (!RADEONPreInitWeight(pScrn))
goto fail;
- info->DispPriority = 1;
+ info->DispPriority = 1;
if ((s = xf86GetOptValString(info->Options, OPTION_DISP_PRIORITY))) {
if (strcmp(s, "AUTO") == 0) {
info->DispPriority = 1;
@@ -2696,7 +2696,7 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
} else if (strcmp(s, "HIGH") == 0) {
info->DispPriority = 2;
} else
- info->DispPriority = 1;
+ info->DispPriority = 1;
}
if (!RADEONPreInitInt10(pScrn, &pInt10))