diff options
Diffstat (limited to 'hw/xfree86/modes/xf86Crtc.c')
-rw-r--r-- | hw/xfree86/modes/xf86Crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index f09b9b895..1c2ee499e 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -2061,9 +2061,9 @@ xf86TargetPreferred(ScrnInfoPtr scrn, xf86CrtcConfigPtr config, (float)config->output[p]->mm_height; if (aspect) - preferred_match[0] = bestModeForAspect(config, enabled, aspect); + preferred_match[p] = bestModeForAspect(config, enabled, aspect); - if (preferred_match[0]) + if (preferred_match[p]) ret = TRUE; } while (0); |