simplify status_string clearing
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:57:56 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -587,7 +587,7 @@
dpy = XOpenDisplay(NULL); for (;;) { - memset(status_string, 0, sizeof(status_string)); + status_string[0] = '\0'; for (i = 0; i < sizeof(args) / sizeof(args[0]); ++i) { argument = args[i]; if (argument.args == NULL)