fixed counting, I think
This commit is contained in:
4
main.c
4
main.c
@@ -732,6 +732,8 @@ count_chars_from_cursor_to_mark(void)
|
|||||||
move_cursor(ARROW_RIGHT);
|
move_cursor(ARROW_RIGHT);
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
move_cursor(ARROW_RIGHT);
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -800,7 +802,7 @@ delete_region(void)
|
|||||||
|
|
||||||
|
|
||||||
while (killed < count) {
|
while (killed < count) {
|
||||||
move_cursor(ARROW_LEFT);
|
move_cursor(ARROW_RIGHT);
|
||||||
deletech(KILLRING_NO_OP);
|
deletech(KILLRING_NO_OP);
|
||||||
killed++;
|
killed++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user