fixed bug in unindent command
This commit is contained in:
parent
5c19952c66
commit
e708b994da
@ -18,6 +18,7 @@ c_unindent(char *c) {
|
||||
for(int i = 0; i < ROW_SIZE - 1; i++) {
|
||||
row->text[i] = row->text[i + 1];
|
||||
}
|
||||
row->text[ROW_SIZE] = 0;
|
||||
row->text[ROW_SIZE - 1] = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user