indenting

This commit is contained in:
Dana Jansens 2003-10-10 05:36:02 +00:00
parent 97ffa9e3e2
commit 6a00a44b99
2 changed files with 5 additions and 5 deletions

View file

@ -1376,9 +1376,9 @@ void client_update_title(ObClient *self)
/* try netwm */
if (!PROP_GETS(self->window, net_wm_name, utf8, &data))
/* try old x stuff */
if (!PROP_GETS(self->window, wm_name, locale, &data))
data = g_strdup("Unnamed Window");
/* try old x stuff */
if (!PROP_GETS(self->window, wm_name, locale, &data))
data = g_strdup("Unnamed Window");
/* did the title change? then reset the title_count */
if (old_title && 0 != strncmp(old_title, data, strlen(data)))
@ -1412,7 +1412,7 @@ void client_update_title(ObClient *self)
self->title = data;
if (self->frame)
frame_adjust_title(self->frame);
frame_adjust_title(self->frame);
g_free(old_title);

View file

@ -293,7 +293,7 @@ gboolean prop_get_string_locale(Window win, Atom prop, char **ret)
if (get_stringlist(win, prop, &list, &nstr) && nstr) {
s = g_convert(list[0], strlen(list[0]), "UTF-8", "ISO-8859-1",
NULL, NULL, NULL);
NULL, NULL, NULL);
XFreeStringList(list);
if (s) {
*ret = s;