summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCooper Yuan <Cooper.Yuan@amd.com>2008-12-15 10:29:34 -0500
committerAlex Deucher <alexdeucher@gmail.com>2008-12-15 10:29:34 -0500
commit2a61397d17339113b9e37995b06ca543589814ce (patch)
tree48196019fc081b8cb7f0ab30b7ce00dc5f1f2438
parent3db60add6671f766f9360e7d03492dfd51eba225 (diff)
Fix typo in xf86PickCrtcs()
-rw-r--r--hw/xfree86/modes/xf86Crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 6b37a72c7..d580ada02 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -988,7 +988,7 @@ xf86PickCrtcs (ScrnInfoPtr scrn,
* see if they can be cloned
*/
if (xf86ModesEqual (modes[o], modes[n]) &&
- config->output[0]->initial_rotation == config->output[n]->initial_rotation &&
+ config->output[o]->initial_rotation == config->output[n]->initial_rotation &&
config->output[o]->initial_x == config->output[n]->initial_x &&
config->output[o]->initial_y == config->output[n]->initial_y)
{