open_prevfile(), open_nextfile()
- Translate the "New Buffer" string when displaying "Switched
to" messages on the statusbar. (DLR)
+ input_tab()
+ - Fix snprintf() call so that we don't segfault when trying to
+ complete a filename containing %'s. (Ulf Harnhammar)
- global.c:
shortcut_init()
- Remove redundant NANO_SMALL #ifdef. (DLR)
/* make each filename shown be the same length as the
longest filename, with two spaces at the end */
- snprintf(foo, longestname + 1, matches[i]);
+ snprintf(foo, longestname + 1, "%s", matches[i]);
while (strlen(foo) < longestname)
strcat(foo, " ");