Commit 9a2d0aff authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

simplify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3982 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -683,7 +683,7 @@ void do_insertfile( ...@@ -683,7 +683,7 @@ void do_insertfile(
char *ans = mallocstrcpy(NULL, ""); char *ans = mallocstrcpy(NULL, "");
/* The last answer the user typed on the statusbar. */ /* The last answer the user typed on the statusbar. */
filestruct *edittop_save = openfile->edittop; filestruct *edittop_save = openfile->edittop;
size_t current_x_save = openfile->current_x, answer_len; size_t current_x_save = openfile->current_x;
ssize_t current_y_save = openfile->current_y; ssize_t current_y_save = openfile->current_y;
bool at_edittop = FALSE; bool at_edittop = FALSE;
/* Whether we're at the top of the edit window. */ /* Whether we're at the top of the edit window. */
...@@ -739,7 +739,7 @@ void do_insertfile( ...@@ -739,7 +739,7 @@ void do_insertfile(
statusbar(_("Cancelled")); statusbar(_("Cancelled"));
break; break;
} else { } else {
size_t pww_save = openfile->placewewant; size_t pww_save = openfile->placewewant, answer_len;
ans = mallocstrcpy(ans, answer); ans = mallocstrcpy(ans, answer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment