cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1948 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-09-28 16:03:03 +00:00
parent 9b6e476a46
commit 670a56c241
1 changed files with 4 additions and 4 deletions

View File

@ -478,7 +478,7 @@ void do_insertfile(void)
{ {
int i; int i;
const char *msg; const char *msg;
char *inspath = mallocstrcpy(NULL, ""); char *ans = mallocstrcpy(NULL, "");
/* The last answer the user typed on the statusbar. Saved for if /* The last answer the user typed on the statusbar. Saved for if
* they do M-F or cancel the file browser. */ * they do M-F or cancel the file browser. */
@ -494,7 +494,7 @@ void do_insertfile(void)
else else
#endif #endif
msg = N_("File to insert [from %s] "); msg = N_("File to insert [from %s] ");
i = statusq(TRUE, insertfile_list, inspath, i = statusq(TRUE, insertfile_list, ans,
#ifndef NANO_SMALL #ifndef NANO_SMALL
NULL, NULL,
#endif #endif
@ -508,7 +508,7 @@ void do_insertfile(void)
if (i != -1) { if (i != -1) {
int old_current_x = current_x; int old_current_x = current_x;
inspath = mallocstrcpy(inspath, answer); ans = mallocstrcpy(ans, answer);
#ifndef NANO_SMALL #ifndef NANO_SMALL
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
@ -576,7 +576,7 @@ void do_insertfile(void)
} else } else
statusbar(_("Cancelled")); statusbar(_("Cancelled"));
free(inspath); free(ans);
} }
void do_insertfile_void(void) void do_insertfile_void(void)