JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Remove stray spaces.
authorTiago Cunha <tcunha@gmx.com>
Tue, 7 Feb 2012 22:57:16 +0000 (22:57 +0000)
committerTiago Cunha <tcunha@gmx.com>
Tue, 7 Feb 2012 23:11:34 +0000 (23:11 +0000)
Prompted by marco.

scrotwm.c

index cb25ad4..789aca0 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -3322,7 +3322,7 @@ get_win_name(Window win)
        /* try _NET_WM_NAME first */
        if (get_property(win, a_netwmname, 0L, a_utf8_string, NULL, &nbytes,
            &prop)) {
-               XFree(prop);
+               XFree(prop);
                if (get_property(win, a_netwmname, nbytes, a_utf8_string,
                    &nitems, NULL, &prop))
                        return (prop);
@@ -3330,7 +3330,7 @@ get_win_name(Window win)
 
        /* fallback to WM_NAME */
        if (!get_property(win, a_wmname, 0L, a_string, NULL, &nbytes, &prop))
-               return (NULL);
+               return (NULL);
        XFree(prop);
        if (get_property(win, a_wmname, nbytes, a_string, &nitems, NULL, &prop))
                return (prop);