1
0

simplify status_string clearing

This commit is contained in:
Aaron Marcher 2016-09-13 18:57:56 +02:00 committed by Aaron Marcher (drkhsh)
parent 75b1853313
commit a1c962f8a3

View File

@ -587,7 +587,7 @@ main(void)
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)