[Xfce4-commits] r26438 - xfwm4/branches/xfce_4_0/src
Olivier Fourdan
olivier at xfce.org
Mon Dec 3 22:51:48 CET 2007
Author: olivier
Date: 2007-12-03 21:51:48 +0000 (Mon, 03 Dec 2007)
New Revision: 26438
Modified:
xfwm4/branches/xfce_4_0/src/hints.c
Log:
Remove trailing \0 in UTF-8 strings, that causes libwnck to rightfully complain that NET_WM_NAME contains invalid UTF-8
Modified: xfwm4/branches/xfce_4_0/src/hints.c
===================================================================
--- xfwm4/branches/xfce_4_0/src/hints.c 2007-12-03 21:51:16 UTC (rev 26437)
+++ xfwm4/branches/xfce_4_0/src/hints.c 2007-12-03 21:51:48 UTC (rev 26438)
@@ -661,7 +661,7 @@
TRACE ("entering set_utf8_string_hint");
XChangeProperty (dpy, w, atom, utf8_string, 8, PropModeReplace,
- (unsigned char *) val, strlen (val) + 1);
+ (unsigned char *) val, strlen (val));
}
void
More information about the Xfce4-commits
mailing list