mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +03:00
fix: error call edit_delete, add needed param.
This commit is contained in:
parent
2ebdf91079
commit
20090e0567
@ -2448,11 +2448,11 @@ edit_move_block_to_left (WEdit * edit)
|
|||||||
}
|
}
|
||||||
next_char = edit_get_byte (edit, edit->curs1);
|
next_char = edit_get_byte (edit, edit->curs1);
|
||||||
if ( next_char == '\t' ) {
|
if ( next_char == '\t' ) {
|
||||||
edit_delete (edit);
|
edit_delete (edit, 1);
|
||||||
} else if ( next_char == ' ' ) {
|
} else if ( next_char == ' ' ) {
|
||||||
for (i = 1; i <= del_tab_width; i++) {
|
for (i = 1; i <= del_tab_width; i++) {
|
||||||
if ( next_char == ' ' ) {
|
if ( next_char == ' ' ) {
|
||||||
edit_delete (edit);
|
edit_delete (edit, 1);
|
||||||
}
|
}
|
||||||
next_char = edit_get_byte (edit, edit->curs1);
|
next_char = edit_get_byte (edit, edit->curs1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user