Fixed weird blocks behaviour with moving text
parent
6d75ac1b00
commit
d1519aa012
|
|
@ -75,7 +75,7 @@ void getcmd(const Block *block, char *output)
|
|||
return;
|
||||
char c;
|
||||
int i = strlen(block->icon);
|
||||
fgets(output+i, CMDLENGTH-i, cmdf);
|
||||
fgets(output+i, CMDLENGTH-2, cmdf);
|
||||
remove_all(output, '\n');
|
||||
i = strlen(output);
|
||||
if (delim != '\0' && i)
|
||||
|
|
|
|||
Loading…
Reference in New Issue