From 7e7e905867fad33666112662ce84e8c2ee65a8d9 Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 19 Sep 2011 22:01:00 -0500 Subject: [PATCH] shut clang up here too and some more white spaces --- lib/swm_hack.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/swm_hack.c b/lib/swm_hack.c index 34550d8..52f2a5c 100644 --- a/lib/swm_hack.c +++ b/lib/swm_hack.c @@ -91,9 +91,8 @@ set_property(Display *dpy, Window id, char *name, char *val) { Atom atom = 0; char prop[SWM_PROPLEN]; - - static XIA *xia = NULL; - static XCP *xcp = NULL; + static XIA *xia = NULL; + static XCP *xcp = NULL; /* find the real Xlib and the real X function */ if (!lib_xlib) @@ -105,10 +104,10 @@ set_property(Display *dpy, Window id, char *name, char *val) /* Try to update the window's workspace property */ atom = (*xia)(dpy, name, False); - if (atom) + if (atom) if (snprintf(prop, SWM_PROPLEN, "%s", val) < SWM_PROPLEN) (*xcp)(dpy, id, atom, XA_STRING, - 8, PropModeReplace, prop, SWM_PROPLEN); + 8, PropModeReplace, (unsigned char *)prop, SWM_PROPLEN); } typedef Window(CWF) (Display * _display, Window _parent, int _x, -- 2.39.2