Browse Source

Fixed for loop in getstatus()

master
Aidan 6 years ago
parent
commit
ce861dd798
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwmblocks.c

+ 1
- 1
dwmblocks.c View File

@ -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]);
}


Loading…
Cancel
Save