more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-01 23:11:52 +00:00
parent 9c3249c893
commit a549a82c32
2 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

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