diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xprops.c | 2 |
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 |