errors. Also exit instead of calling usage() in the event of
an invalid fill value, for consistency with how an invalid
tabsize value is handled.
+ - Remove several unnecessary reset_cursor() calls. (David
+ Benbennick)
- files.c:
close_open_file()
- Tweak to no longer rely on the return values of
the same line. (DLR)
do_exit()
- Tweak for efficiency. (David Benbennick)
+ main()
+ - Move the reset_cursor() call to the beginning of the main
+ input loop, and remove the apparently unnecessary wrefresh()
+ call. (David Benbennick)
- proto.h:
- Change the variables in the prototypes for do_justify(),
get_verbatim_kbinput(), and get_mouseinput() to match the ones
/* Display the shortcut list with UnJustify. */
shortcut_init(TRUE);
display_main_list();
- reset_cursor();
/* Now get a keystroke and see if it's unjustify; if not, unget the
* keystroke and return. */
#endif
edit_refresh();
- reset_cursor();
while (TRUE) {
keyhandled = FALSE;
+ reset_cursor();
if (ISSET(CONSTUPDATE))
do_cursorpos(TRUE);
do_char((char)kbinput);
}
}
- reset_cursor();
- wrefresh(edit);
}
assert(FALSE);
}