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-d3aeb78583b8master
parent
3b47ff756e
commit
691689d2b3
|
@ -10,6 +10,8 @@
|
||||||
* src/global.c (strtosc): Fix compilation with --enable-tiny
|
* src/global.c (strtosc): Fix compilation with --enable-tiny
|
||||||
--enable-histories --enable-nanorc.
|
--enable-histories --enable-nanorc.
|
||||||
* src/text.c: Fix compilation with --enable-tiny --enable-wrapping.
|
* src/text.c: Fix compilation with --enable-tiny --enable-wrapping.
|
||||||
|
* src/files.c (do_insertfile): Fix compilation with --enable-tiny
|
||||||
|
--enable-histories --enable-multibuffer.
|
||||||
|
|
||||||
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
||||||
|
|
|
@ -1191,8 +1191,11 @@ void do_insertfile(
|
||||||
display_buffer();
|
display_buffer();
|
||||||
|
|
||||||
ssize_t savedposline, savedposcol;
|
ssize_t savedposline, savedposcol;
|
||||||
if (!execute && ISSET(POS_HISTORY)
|
if (ISSET(POS_HISTORY) &&
|
||||||
&& check_poshistory(answer, &savedposline, &savedposcol))
|
#ifndef NANO_TINY
|
||||||
|
!execute &&
|
||||||
|
#endif
|
||||||
|
check_poshistory(answer, &savedposline, &savedposcol))
|
||||||
do_gotolinecolumn(savedposline, savedposcol, FALSE, FALSE, FALSE, FALSE);
|
do_gotolinecolumn(savedposline, savedposcol, FALSE, FALSE, FALSE, FALSE);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue