aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorEduardo Pedroni <ep625@york.ac.uk>2015-04-12 15:43:33 +0200
committerEduardo Pedroni <ep625@york.ac.uk>2015-04-12 15:43:33 +0200
commit98250e6bdac973bcf0c108546e8df51f5be0c5e4 (patch)
treece0783d6e940f9ecef9d179011cc45fb32ac5687 /dwm.c
parent6fb8bcc8569d06e17a8b48341d9386dda7626347 (diff)
Messing with disk usage in statusbar, fixed a minor bug in dwm.c
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index e26df85..6e90d4c 100644
--- a/dwm.c
+++ b/dwm.c
@@ -723,7 +723,7 @@ createmon(void) {
m->sellt = 0;
m->lt[0] = &layouts[def_layouts[1] % LENGTH(layouts)];
m->lt[1] = &layouts[1 % LENGTH(layouts)];
- strncpy(m->ltsymbol, layouts[0].symbol, sizeof m->ltsymbol);
+ strncpy(m->ltsymbol, layouts[def_layouts[1]].symbol, sizeof m->ltsymbol);
if(!(m->pertag = (Pertag *)calloc(1, sizeof(Pertag))))
die("fatal: could not malloc() %u bytes\n", sizeof(Pertag));
m->pertag->curtag = m->pertag->prevtag = 1;