in do_insertfile(), add missing #ifdefs around the wrap_reset() call so

that nano compiles with wrapping disabled again


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1970 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2004-10-05 20:24:48 +00:00
parent 045883aa34
commit 487149e713
2 changed files with 4 additions and 0 deletions

View File

@@ -496,7 +496,9 @@ void do_insertfile(
char *ans = mallocstrcpy(NULL, "");
/* The last answer the user typed on the statusbar. */
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
while (TRUE) {
#ifndef NANO_SMALL