From f456794045ef35efb44aca80819bacd413aab7b6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 8 Jul 2018 17:36:17 +0200 Subject: [PATCH] tweaks: adjust two comments, to be more accurate and general --- src/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index e42adbea..9cd355c5 100644 --- a/src/text.c +++ b/src/text.c @@ -639,7 +639,7 @@ void undo_cut(undo *u) else goto_line_posx(u->mark_begin_lineno, u->mark_begin_x); - /* If we cut the magicline, we may as well not crash. :/ */ + /* If nothing was actually cut, positioning the cursor was enough. */ if (!u->cutbuffer) return; @@ -656,7 +656,7 @@ void redo_cut(undo *u) goto_line_posx(u->lineno, u->begin); - /* If we cut the magicline, we may as well not crash. :/ */ + /* If nothing was actually cut, positioning the cursor was enough. */ if (!u->cutbuffer) return;