summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--point.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/point.c b/point.c
index 1de3eef..23ce492 100644
--- a/point.c
+++ b/point.c
@@ -78,9 +78,8 @@ void delete_at_point(struct point *point) {
free_page(point->page->next);
point->index = 0;
} else {
- align_gap(point);
delete_at_gap(point->page);
- move_point_backward(point);
+ point->index = 0;
}
} else if (point->index > 0) {
align_gap(point);