static char **matches = (char **) NULL;
int pos = place, newplace = 0, i = 0, col = 0, editline = 0;
int longestname = 0;
+ char *foo;
if (lastWasTab == FALSE) {
char *tmp, *matchBuf;
if (longestname > COLS - 1)
longestname = COLS - 1;
+ foo = nmalloc(longestname + 5);
+
/* Print the list of matches */
for (i = 0, col = 0; i < num_matches; i++) {
/* make each filename shown be the same length as the longest
filename, with two spaces at the end */
- char *foo;
- foo = nmalloc(longestname + 5);
snprintf(foo, longestname + 1, matches[i]);
while (strlen(foo) < longestname)
strcat(foo, " ");
col = 0;
}
}
+ free(foo);
wrefresh(edit);
num_matches = 0;
}
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-11-05 16:52-0500\n"
+"POT-Creation-Date: 2000-11-05 16:56-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"