Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
reorganized
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
c080ada
..
ba5e2e0
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-133,8
+133,7
@@
setup(void) {
sh = DisplayHeight(dpy, screen);
master = MASTER;
nmaster = NMASTER;
- snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster);
- bmw = textw(mtext);
+ updatemodetext();
/* bar */
bx = sx;
by = sy;