From: David Lawrence Ramsey Date: Fri, 1 Jul 2005 23:11:52 +0000 (+0000) Subject: more cosmetic fixes X-Git-Tag: v1.3.9~239 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a549a82c32afaae24c14e713f29c1abdd5352085;p=nano.git more cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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) {