- 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.
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,
}
#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)
{