Fixed weird blocks behaviour with moving text
This commit is contained in:
parent
6d75ac1b00
commit
d1519aa012
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue