dwmblocks

My build of dwmblocks.
git clone git://git.alex.balgavy.eu/dwmblocks.git
Log | Files | Refs | README | LICENSE

commit ce861dd79800eb7ea429f54b3b38d7a05e44dd7b
parent 980aab697afc8b02f807624b475300de360dafa2
Author: Aidan <torrinfail@gmail.com>
Date:   Sun, 24 Mar 2019 22:32:08 -0600

Fixed for loop in getstatus()

Diffstat:
Mdwmblocks.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwmblocks.c b/dwmblocks.c @@ -95,7 +95,7 @@ void setupsignals() void getstatus(char *str) { int j = 0; - for(int i = 0; i < 5; j+=strlen(statusbar[i++])) + for(int i = 0; i < LENGTH(blocks); j+=strlen(statusbar[i++])) { strcpy(str + j, statusbar[i]); }