]> Dogcows Code - chaz/openbox/commitdiff
indenting
authorDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:36:02 +0000 (05:36 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:36:02 +0000 (05:36 +0000)
openbox/client.c
openbox/prop.c

index 1aaa0267c6cc0ba883f7a59b1d1e2123d1224520..257b480c1e539b2d8462238f541adb19ddfd56d5 100644 (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);
 
index 98bbbd995536f2b9f5b37ca800776be7a929ea1f..25495ef44cae6366f46c7f345145c6270a124c6e 100644 (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;
This page took 0.025927 seconds and 4 git commands to generate.