git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@877
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
move to the previous word in the file.
- Added #ifdef NANO_SMALL around do_next_space and do_prev_space
codes, as nano-tiny doesn't particularly need those features.
- main()
- - Fixed off-by-one error on MAIN_LIST_LEN loop search.
- nano.texi:
- Backported fix from 1.1 for Mouse Toggle.
- po/de.po:
/* Look through the main shortcut list to see if we've hit a
shortcut key */
- for (i = 0; i < MAIN_LIST_LEN - 1 && !keyhandled; i++) {
+ for (i = 0; i < MAIN_LIST_LEN && !keyhandled; i++) {
if (kbinput == main_list[i].val ||
(main_list[i].misc1 && kbinput == main_list[i].misc1) ||
(main_list[i].misc2 && kbinput == main_list[i].misc2)) {