summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index 236458d..bae9269 100644
--- a/src/util.c
+++ b/src/util.c
@@ -351,7 +351,7 @@ FindBitmap(const char *name, unsigned *widthp, unsigned *heightp)
pm = XmuLocateBitmapFile(ScreenOfDisplay(dpy, Scr->screen), bigname, NULL,
0, (int *) widthp, (int *) heightp, &HotX, &HotY);
if (pm == None && Scr->IconDirectory && bigname[0] != '/') {
- free (bigname);
+ free(bigname);
/*
* Attempt to find icon in old IconDirectory (now obsolete)
*/
@@ -361,12 +361,12 @@ FindBitmap(const char *name, unsigned *widthp, unsigned *heightp)
Scr->IconDirectory, name);
return None;
}
- if (XReadBitmapFile (dpy, Scr->Root, bigname, widthp, heightp, &pm,
+ if (XReadBitmapFile(dpy, Scr->Root, bigname, widthp, heightp, &pm,
&HotX, &HotY) != BitmapSuccess) {
pm = None;
}
}
- free (bigname);
+ free(bigname);
if (pm == None) {
twmWarning("unable to find bitmap \"%s\"", name);
}