aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/Depths.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/Depths.c')
-rw-r--r--libX11/src/Depths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/Depths.c b/libX11/src/Depths.c
index dba1471d8..7285be1c3 100644
--- a/libX11/src/Depths.c
+++ b/libX11/src/Depths.c
@@ -52,7 +52,7 @@ int *XListDepths (
depths = (int *) Xmalloc (count * sizeof(int));
if (!depths) return NULL;
- for (i = 0, dp = scr->depths; i < count; i++, dp++)
+ for (i = 0, dp = scr->depths; i < count; i++, dp++)
depths[i] = dp->depth;
} else {
/* a screen must have a depth */