diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-05 12:55:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-05 12:55:06 +0000 |
commit | d2428470c34f096821615c7f119775b03aa86253 (patch) | |
tree | b3660bfdb27e999f0a255b2db51b2d8e27937ff6 /tools | |
parent | 5294a5bda9777fed8650362cb267459f51e960a4 (diff) | |
download | drakx-backup-do-not-use-d2428470c34f096821615c7f119775b03aa86253.tar drakx-backup-do-not-use-d2428470c34f096821615c7f119775b03aa86253.tar.gz drakx-backup-do-not-use-d2428470c34f096821615c7f119775b03aa86253.tar.bz2 drakx-backup-do-not-use-d2428470c34f096821615c7f119775b03aa86253.tar.xz drakx-backup-do-not-use-d2428470c34f096821615c7f119775b03aa86253.zip |
fix for cards giving bad info
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ddcprobe/ddcxinfos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ddcprobe/ddcxinfos.c b/tools/ddcprobe/ddcxinfos.c index 06723746f..9888d5896 100644 --- a/tools/ddcprobe/ddcxinfos.c +++ b/tools/ddcprobe/ddcxinfos.c @@ -42,7 +42,7 @@ int main(int argc, char **argv) printf(hmin ? "%d-%d kHz HorizSync\n" : "\n", hmin, hmax); printf(vmin ? "%d-%d Hz VertRefresh\n" : "\n", vmin, vmax); - { + if (edid->max_size_horizontal != 127 && edid->max_size_vertical != 127) { char manufacturer[4]; double size = sqrt(SQR(edid->max_size_horizontal) + SQR(edid->max_size_vertical)) / 2.54; |