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 936d43f0..fc621c72 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(entity_num))
+ if (radeon_get_scrninfo(i))
foundScreen = TRUE;
}
}