nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit a549a82c32afaae24c14e713f29c1abdd5352085
parent 9c3249c8932a3e8e099e85f5697fe024fc564662
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri,  1 Jul 2005 23:11:52 +0000

more cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 6+++---
Msrc/global.c | 5+++--
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git 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 @@ -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) {