It's true that g_utf8_validate doesn't like '\000' in strings, but that
2002-05-06 Anders Carlsson <andersca@gnu.org> * gnome-keybinding-properties.c (get_wm_name): It's true that g_utf8_validate doesn't like '\000' in strings, but that should be fixed in the programs that set the hints. (Eg Metacity).
This commit is contained in:
parent
9390568d1e
commit
6cdacb60ee
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-05-06 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gnome-keybinding-properties.c (get_wm_name): It's true that
|
||||
g_utf8_validate doesn't like '\000' in strings, but that should
|
||||
be fixed in the programs that set the hints. (Eg Metacity).
|
||||
|
||||
Sun May 5 22:15:18 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gnome-keybinding-properties.c (get_wm_name): g_utf8_validate
|
||||
|
|
|
@ -151,7 +151,7 @@ get_wm_name (void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (!g_utf8_validate (val, nitems - 1, NULL))
|
||||
if (!g_utf8_validate (val, nitems, NULL))
|
||||
{
|
||||
XFree (val);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue