diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-04-26 22:54:46 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-04-26 22:54:46 -0300 |
commit | a764e4a2e0247dce63e55edb4b712566c0eb20b1 (patch) | |
tree | ed0ea29b78bc9a34994ee5fcf19ab80779ac3261 /point.c | |
parent | 5427bf8939f0ed254db9db32a6d96af98e641f59 (diff) | |
download | jet-a764e4a2e0247dce63e55edb4b712566c0eb20b1.tar.gz jet-a764e4a2e0247dce63e55edb4b712566c0eb20b1.zip |
Fix deleting at start
Diffstat (limited to 'point.c')
-rw-r--r-- | point.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ void delete_at_point(struct point *point) { delete_at_gap(point->page); move_point_backward(point); } - } else { + } else if (point->index > 0) { align_gap(point); delete_at_gap(point->page); move_point_backward(point); |