diff --git a/ChangeLog b/ChangeLog index 4c4c1998..3720668f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,12 +2,12 @@ CVS code - - General: - Miscellaneous comment fixes. (DLR) - nano.c: - allow_pending_sigwinch() - - Simplify by using the "?" operator instead of an if clause. - (DLR) do_verbatim_input() - If constant cursor position display is on when we finish, make sure the cursor position is displayed properly. (DLR) + allow_pending_sigwinch() + - Simplify by using the "?" operator instead of an if clause. + (DLR) main() - When constant cursor position display is on, only display the cursor position if there are no keys waiting in the buffer. diff --git a/src/global.c b/src/global.c index 5868d63a..352d9b94 100644 --- a/src/global.c +++ b/src/global.c @@ -197,7 +197,8 @@ size_t length_of_list(const shortcut *s) return i; } -/* Initialize a struct *without* our lovely braces =( */ +/* Create a new shortcut structure, at the end of the shortcuts linked + * list. */ void sc_init_one(shortcut **shortcutage, int ctrlval, const char *desc, #ifndef DISABLE_HELP const char *help, @@ -1074,7 +1075,7 @@ void free_shortcutage(shortcut **shortcutage) } #ifndef NANO_SMALL -/* Create one new toggle structure, at the end of the toggles linked +/* Create a new toggle structure, at the end of the toggles linked * list. */ void toggle_init_one(int val, const char *desc, long flag) {