summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-11-18 23:43:06 -0500
committerAlex Deucher <alex@botch2.(none)>2007-11-18 23:43:06 -0500
commit8f84c5ad4c4af14612ea68fe6f24d0d527f00acc (patch)
tree11fb1d9856aa88fc030ca196a41877ac01b13fd5 /src/radeon_bios.c
parent384cd8f52c89d089c6559e2eedbae45641fcd14e (diff)
fix typo in loop
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 4d1956f6..8b6b075b 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -250,7 +250,7 @@ static Bool RADEONGetATOMConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
for (i = 0; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
if (info->BiosConnector[i].valid) {
- for (j = 0; j < 8; j++) {
+ for (j = 0; j < RADEON_MAX_BIOS_CONNECTOR; j++) {
if (info->BiosConnector[j].valid && (i != j) ) {
if (info->BiosConnector[i].output_id == info->BiosConnector[j].output_id) {
if ((i == 3) || (i == 7) || (i == 9)) {