summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2006-12-06 16:31:00 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2006-12-06 16:31:00 +0800
commit1cb6311c1182fe98d2b8d237cef42509c3178f9a (patch)
tree9ad63b3583072d8eef431922c3b136bc19a8bda6
parentffd8aacbe7c72b696ff7257609e3c1d45c057609 (diff)
fix typo in checking xf86CrtcScreenInit return
-rw-r--r--src/i830_randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c
index 00770201..a6d71f2d 100644
--- a/src/i830_randr.c
+++ b/src/i830_randr.c
@@ -900,7 +900,7 @@ xf86RandR12Init12 (ScreenPtr pScreen)
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
rrScrPrivPtr rp = rrGetScrPriv(pScreen);
- if (xf86CrtcScreenInit (pScreen))
+ if (!xf86CrtcScreenInit (pScreen))
return FALSE;
rp->rrGetInfo = xf86RandR12GetInfo12;