diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-10-03 14:57:48 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-10-03 14:57:48 -0700 |
commit | c36221ee1d5dca8054960fe2fa7e9c5f8a418aaa (patch) | |
tree | 57c718c86ff5f5950918bc7dcd2f9f685148e553 | |
parent | ff0e05f58c9593f25a8294528ceea7cdbb787f1e (diff) |
Fix typo in get_configured_monitor
We only want to use VBE to get DDC info if all other attempts failed *AND*
VBE is available. Ugh.
-rw-r--r-- | src/xgi_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xgi_driver.c b/src/xgi_driver.c index 42ceb22..837d15a 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -1644,7 +1644,7 @@ xf86MonPtr get_configured_monitor(ScrnInfoPtr pScrn, int index) XG47DDCRead); } - if ((pMon == NULL) || (pXGI->pVbe != NULL)) { + if ((pMon == NULL) && (pXGI->pVbe != NULL)) { pMon = vbeDoEDID(pXGI->pVbe, NULL); } |