summaryrefslogtreecommitdiff
path: root/src/radeon_probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r--src/radeon_probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index fc621c72..4ec74859 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -180,7 +180,7 @@ RADEONProbe(DriverPtr drv, int flags)
foundScreen = TRUE;
} else {
for (i = 0; i < numUsed; i++) {
- if (radeon_get_scrninfo(i))
+ if (radeon_get_scrninfo(usedChips[i]))
foundScreen = TRUE;
}
}