diff options
author | pgen <p.gen.progs@gmail.com> | 2024-01-11 20:33:55 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2024-01-11 20:33:55 +0100 |
commit | 9626f39277511aa59b0324113989445c312a9148 (patch) | |
tree | 717dad524824018915123d1d3dc7ba19ab7b2b9e | |
parent | c8ce702fc603621d30bb429126b51fc8f868e504 (diff) |
Fix misleading comments
-rw-r--r-- | smenu.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5982,9 +5982,9 @@ move_down(win_t *win, /* """"""""""""""""""""""""""""""" */ line += page; - /* The target line cannot be before the line containing the first */ - /* selectable word. */ - /* """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ + /* The target line cannot be after the line containing the last */ + /* selectable word. */ + /* """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ if (line > last_selectable_line) { line = last_selectable_line; @@ -5993,9 +5993,9 @@ move_down(win_t *win, } else { - /* If this is not the case, search upwards for the line with a */ - /* selectable word. This line is guaranteed to exist. */ - /* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ + /* If this is not the case, search downwards for the line with a */ + /* selectable word. This line is guaranteed to exist. */ + /* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ while (line <= last_selectable_line) { last_word = get_line_last_word(line, last_line); |