1
0
xorg-x11-server/p_xf86Mode.diff

12 lines
509 B
Diff

--- programs/Xserver/hw/xfree86/common/xf86Mode.c.orig 2005-11-30 11:35:17.000000000 +0100
+++ programs/Xserver/hw/xfree86/common/xf86Mode.c 2006-01-30 15:25:48.000000000 +0100
@@ -765,7 +765,7 @@
}
if (mon_range) {
/* mode->Clock in kHz, DDC in MHz */
- if (mon_range->max_clock < 2550 &&
+ if (mon_range->max_clock != 0 && mon_range->max_clock < 2550 &&
mode->Clock / 1000.0 > mon_range->max_clock) {
xf86Msg(X_WARNING,
"(%s,%s) mode clock %gMHz exceeds DDC maximum %dMHz\n",