diff options
author | okan <okan> | 2009-06-20 00:22:39 +0000 |
---|---|---|
committer | okan <okan> | 2009-06-20 00:22:39 +0000 |
commit | 58d12134b1679a9172a7131abffc27769780b9c5 (patch) | |
tree | ffd2aa13b869b39db64f2a18488c87bfc2aa9882 /calmwm.c | |
parent | 18c7d89c985cda7a9a5fa7de7c13ae177509380b (diff) | |
download | cwm-58d12134b1679a9172a7131abffc27769780b9c5.tar.gz cwm-58d12134b1679a9172a7131abffc27769780b9c5.tar.xz cwm-58d12134b1679a9172a7131abffc27769780b9c5.zip |
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 'calmwm.c')
-rw-r--r-- | calmwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c index cfe0091..f9647af 100644 --- a/calmwm.c +++ b/calmwm.c @@ -111,7 +111,7 @@ x_setup(void) int i; for (i = 0; i < ScreenCount(X_Dpy); i++) { - XCALLOC(sc, struct screen_ctx); + sc = xcalloc(1, sizeof(*sc)); x_setupscreen(sc, i); TAILQ_INSERT_TAIL(&Screenq, sc, entry); } |