(David Lawrence Ramsey).
- nano.c:
- New function do_prev_word, similar to do_next_word. Hard coded as
- Alt-space, as next word is hard coded as control-space.
+ Alt-space, as next word is hard coded as control-space. Fixed
+ goofy logic setting x pos to value of last line when hitting the
+ beginning of first line, prog should simply abort.
- rcfile.c:
- Fix incorrect number of rc options (David Lawrence Ramsey).
- po/sv.po:
if (i == 0) {
if (fileptr->prev != NULL)
i = strlen(fileptr->prev->data) - 1;
- else if (fileptr == fileage && filebot != NULL)
- i = strlen(filebot->data) - 1;
-
+ else if (fileptr == fileage && filebot != NULL) {
+ current_x = 0;
+ return;
+ }
continue;
}
}
}
if (fileptr->prev != NULL)
i = strlen(fileptr->prev->data) - 1;
- else if (fileptr == fileage && filebot != NULL)
- i = strlen(filebot->data) - 1;
+ else if (fileptr == fileage && filebot != NULL) {
+ current_x = 0;
+ return;
+ }
}
if (fileptr == NULL)
current = fileage;