Fixed for loop in getstatus()
This commit is contained in:
parent
980aab697a
commit
ce861dd798
|
@ -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…
Reference in New Issue