diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index b43c03b..dbdded9 100644 --- a/config.def.h +++ b/config.def.h @@ -33,8 +33,7 @@ void op_delete(OperatorContext *c) { return; size_t len = c->range.end - c->range.start; vis_delete(vis, c->range.start, len); - if (c->pos > c->range.start) - window_cursor_to(vis->win->win, c->range.start); + window_cursor_to(vis->win->win, c->range.start); vis_draw(vis); } |
