diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-03-21 21:20:39 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-03-21 21:20:39 +0000 |
commit | 5090c8ba6778091aa4ce24b16b058d534ba78dc7 (patch) | |
tree | d4288ed7a76c38ce80f8c07ea05b1cff2e284f28 | |
parent | 8bc9b0d7da5de9a3294687f450afb50452898c7d (diff) |
a one line fixup to the UseDDC code
-rw-r--r-- | src/i830_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 8d611a46..dc28c50f 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1565,6 +1565,8 @@ I830UseDDC(ScrnInfoPtr pScrn) Bool ret = FALSE; int i; + if (!DDC) return 0; + /* Now change the hsync/vrefresh values of the current monitor to * match those of DDC */ for (i = 0; i < 4; i++) { |