the prop_get_strings_locale function looked for a utf8 typed property

This commit is contained in:
Dana Jansens 2003-06-29 18:37:51 +00:00
parent 1cacfa85d0
commit f544273eaf

View file

@ -282,7 +282,7 @@ gboolean prop_get_strings_locale(Window win, Atom prop, char ***ret)
char *raw, *p;
guint num, i, count = 0;
if (get_all(win, prop, prop_atoms.utf8, 8, (guchar**)&raw, &num)) {
if (get_all(win, prop, prop_atoms.string, 8, (guchar**)&raw, &num)) {
p = raw;
while (p < raw + num - 1) {