- Translation updates (see po/ChangeLog for details).
- Fix globals and externs such that nano will compile with
DISABLE_SPELLER (David Benbennick).
+- files.c:
+ intput_tab()
+ - Fix assumption that matches is null terminated (David
+ Benbennick).
- nano.c:
main()
- Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
break;
}
}
+ closedir(dir);
+ free(dirname);
return matches;
}
/* And if the next match isn't going to fit on the
line, move to the next one */
- if (col > (COLS - longestname) && matches[i + 1] != NULL) {
+ if (col > COLS - longestname && i + 1 < num_matches) {
editline++;
wmove(edit, editline, 0);
if (editline == editwinrows - 1) {