diff --git a/src/text.c b/src/text.c index fda9324c0d0f167206b70598b6b6b36b6c789041..f55bbb6a9ae109bc99bd3ba86fc1981febc5ecba 100644 --- a/src/text.c +++ b/src/text.c @@ -2147,7 +2147,7 @@ void justify_paragraph(filestruct **line, size_t quote_len, size_t par_len) break_pos--; } - /* Now actually break the current line, and go the next. */ + /* Now actually break the current line, and go to the next. */ null_at(&(*line)->data, break_pos); *line = (*line)->next; } diff --git a/src/winio.c b/src/winio.c index 6d48a6c17418217ecab20b236cfd04c619865d31..822a1b83b688a4022e8cf9fdefa9748b9e126d35 100644 --- a/src/winio.c +++ b/src/winio.c @@ -122,14 +122,14 @@ void run_macro(void) * - Ctrl-M is Enter under ASCII, ANSI, VT100, VT220, and VT320. * - Ctrl-Q is XON under ASCII, ANSI, VT100, VT220, and VT320. * - Ctrl-S is XOFF under ASCII, ANSI, VT100, VT220, and VT320. - * - Ctrl-8 (Ctrl-?) is Delete under ASCII, ANSI, VT100, and VT220, + * - Ctrl-? is Delete under ASCII, ANSI, VT100, and VT220, * but is Backspace under VT320. * * Note: VT220 and VT320 also generate Esc [ 3 ~ for Delete. By default, - * xterm assumes it's running on a VT320 and generates Ctrl-8 (Ctrl-?) + * xterm assumes it's running on a VT320 and generates Ctrl-? * for Backspace and Esc [ 3 ~ for Delete. This causes problems for * VT100-derived terminals such as the FreeBSD console, which expect - * Ctrl-H for Backspace and Ctrl-8 (Ctrl-?) for Delete, and on which the + * Ctrl-H for Backspace and Ctrl-? for Delete, and on which the * VT320 sequences are translated by the keypad to KEY_DC and [nothing]. * We work around this conflict via the REBIND_DELETE flag: if it's not set, * we assume VT320 compatibility, and if it is, we assume VT100 compatibility. @@ -1767,13 +1767,11 @@ int get_mouseinput(int *mouse_y, int *mouse_x, bool allow_shortcuts) return 1; } else - /* Ignore presses of the fourth mouse button and presses of - * the fifth mouse buttons that aren't on the edit window or - * the statusbar. */ + /* Ignore presses of the fourth and fifth mouse buttons + * that aren't on the edit window or the status bar. */ return 2; } #endif - /* Ignore all other mouse events. */ return 2; }