From: Dana Jansens Date: Fri, 10 Oct 2003 05:36:02 +0000 (+0000) Subject: indenting X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6a00a44b999905538d86fc3d6609a0cbce781d5f;p=chaz%2Fopenbox indenting --- diff --git a/openbox/client.c b/openbox/client.c index 1aaa0267..257b480c 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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); diff --git a/openbox/prop.c b/openbox/prop.c index 98bbbd99..25495ef4 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -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;