diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2015-04-12 15:43:33 +0200 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2015-04-12 15:43:33 +0200 |
commit | 98250e6bdac973bcf0c108546e8df51f5be0c5e4 (patch) | |
tree | ce0783d6e940f9ecef9d179011cc45fb32ac5687 /dwm.c | |
parent | 6fb8bcc8569d06e17a8b48341d9386dda7626347 (diff) |
Messing with disk usage in statusbar, fixed a minor bug in dwm.c
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |