summaryrefslogtreecommitdiff
path: root/src/xprops.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-06-14 19:28:23 +0000
committerHavoc Pennington <hp@src.gnome.org>2004-06-14 19:28:23 +0000
commit124fcdfca951c4955d6ee8ca1ff86eda35b22006 (patch)
treea79d03ab3a604f1201efaecc5c9ed046b7893967 /src/xprops.c
parent30743a57b452f110ed64fd6bb97f84b5a1f10a7b (diff)
downloadmetacity-124fcdfca951c4955d6ee8ca1ff86eda35b22006.tar.gz
fix this to compile (1 year later) - clearly everyone is testing GNOME 2.2GNOME_2_2_RHEL3_BRANCHPOINTgnome-2-2
2004-06-14 Havoc Pennington <hp@redhat.com> * src/xprops.c (utf8_list_from_results): fix this to compile (1 year later) - clearly everyone is testing GNOME 2.2 from CVS...
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