diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:36:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:36:02 +0000 |
| commit | 6a00a44b999905538d86fc3d6609a0cbce781d5f (patch) | |
| tree | ba3ac281bba67aabf63a601221e3164d3f35c0a2 | |
| parent | 97ffa9e3e27bda2d1fc95b5389db6f49964f0a08 (diff) | |
indenting
| -rw-r--r-- | openbox/client.c | 8 | ||||
| -rw-r--r-- | openbox/prop.c | 2 |
2 files changed, 5 insertions, 5 deletions
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; |
