diff options
-rw-r--r-- | src/i830_lvds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 48402dfa..899c6cbf 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -671,7 +671,7 @@ i830_lvds_mode_fixup(xf86OutputPtr output, DisplayModePtr mode, /* Letterbox will have top/bottom borders */ top_border = (dev_priv->panel_fixed_mode->VDisplay - - mode->VDisplay) / 2; + scaled_height) / 2; bottom_border = top_border; if (mode->VDisplay & 1) bottom_border++; |