diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |