summaryrefslogtreecommitdiff
path: root/src/xprops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xprops.c')
-rw-r--r--src/xprops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xprops.c b/src/xprops.c
index 2b00c5ae..dcbe2c74 100644
--- a/src/xprops.c
+++ b/src/xprops.c
@@ -459,7 +459,7 @@ utf8_list_from_results (GetPropertyResults *results,
++i;
}
- if (results->prop[n_items - 1] != '\0')
+ if (results->prop[results->n_items - 1] != '\0')
++n_strings;
/* we're guaranteed that results->prop has a nul on the end