aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2009-06-20 00:22:39 +0000
committerokan2009-06-20 00:22:39 +0000
commitc6af5e9b967797d315037b26aa05fec5b3e6ef44 (patch)
treed43509362b21d72dea32d8a79f4b199e95b0f566 /menu.c
parent5065e7cff4666b454fb3c16be050811f58b9f24f (diff)
downloadcwm-c6af5e9b967797d315037b26aa05fec5b3e6ef44.tar.gz
unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 16cf400..ea4a24f 100644
--- a/menu.c
+++ b/menu.c
@@ -383,7 +383,7 @@ menu_handle_release(XEvent *e, struct menu_ctx *mc, struct screen_ctx *sc,
if (entry == i++)
break;
if (mi == NULL) {
- XMALLOC(mi, struct menu);
+ mi = xmalloc(sizeof(*mi));
mi->text[0] = '\0';
mi->dummy = 1;
}