Fixed for loop in getstatus()

This commit is contained in:
Aidan 2019-03-24 22:32:08 -06:00
parent 980aab697a
commit ce861dd798
1 changed files with 1 additions and 1 deletions

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