From 8000440b2de276f6ee65f3f369b8622478a0afb2 Mon Sep 17 00:00:00 2001 From: Moesasji Date: Thu, 10 Dec 2020 18:25:37 +0000 Subject: fix typos in comments --- vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index d39c4b1..45963b0 100644 --- a/vis.c +++ b/vis.c @@ -1018,7 +1018,7 @@ void vis_do(Vis *vis) { register_resize(reg, last_reg_slot+1); } - /* we do not support visual repeat, still do something resonable */ + /* we do not support visual repeat, still do something reasonable */ if (vis->mode->visual && !a->movement && !a->textobj) a->movement = &vis_motions[VIS_MOVE_NOP]; @@ -1686,7 +1686,7 @@ void vis_insert_nl(Vis *vis) { size_t newpos = vis_text_insert_nl(vis, txt, pos); /* This is a bit of a hack to fix cursor positioning when * inserting a new line at the start of the view port. - * It has the effect of reseting the mark used by the view + * It has the effect of resetting the mark used by the view * code to keep track of the start of the visible region. */ view_cursors_to(s, pos); -- cgit v1.2.3