Fixing compilation with --enable-tiny --enable-histories --enable-multibuffer.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5000 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg
2014-06-20 16:33:12 +00:00
parent 3b47ff756e
commit 691689d2b3
2 changed files with 7 additions and 2 deletions

View File

@@ -1191,8 +1191,11 @@ void do_insertfile(
display_buffer();
ssize_t savedposline, savedposcol;
if (!execute && ISSET(POS_HISTORY)
&& check_poshistory(answer, &savedposline, &savedposcol))
if (ISSET(POS_HISTORY) &&
#ifndef NANO_TINY
!execute &&
#endif
check_poshistory(answer, &savedposline, &savedposcol))
do_gotolinecolumn(savedposline, savedposcol, FALSE, FALSE, FALSE, FALSE);
} else
#endif