return matches;
}
-/* This was originally called exe_n_cwd_tab_completion, but we're not
+/* This was originally called exe_n_cwd_tab_completion(), but we're not
* worried about executables, only filenames :> */
char **cwd_tab_completion(const char *buf, size_t *num_matches, size_t
buflen)
#ifndef NANO_SMALL
/* Tab history completion. */
if (history_list != NULL) {
- if (!complete || last_kbinput != NANO_TAB_KEY) {
+ if (complete == NULL ||
+ last_kbinput != NANO_TAB_KEY) {
history_list->current =
(historytype *)history_list;
history_list->len = strlen(answer);