diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2009-06-20 00:22:40 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2009-06-20 00:22:40 +0000 |
commit | 6fc03fb607ca82bdbaaaacc755bbf3e4392aa94d (patch) | |
tree | 8b7c632c6cd06149dbf84e88758ee96b62e95cc2 /app/cwm/group.c | |
parent | 493230bc11f8a7bb6455832459da2f3a2a91cb0c (diff) |
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 'app/cwm/group.c')
-rw-r--r-- | app/cwm/group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c index 528220005..b11de898a 100644 --- a/app/cwm/group.c +++ b/app/cwm/group.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.30 2009/05/19 12:49:37 sthen Exp $ + * $Id: group.c,v 1.31 2009/06/20 00:22:39 okan Exp $ */ #include "headers.h" @@ -304,7 +304,7 @@ group_menu(XButtonEvent *e) if (TAILQ_EMPTY(&gc->clients)) continue; - XCALLOC(mi, struct menu); + mi = xcalloc(1, sizeof(*mi)); if (gc->hidden) snprintf(mi->text, sizeof(mi->text), "%d: [%s]", gc->shortcut, shortcut_to_name[gc->shortcut]); |