nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 36c87bcfd5f31d394b7ff368773073136aa8d7e8
parent 81377d96564a34863a50974efea4f29fd130d77a
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri,  4 Apr 2014 15:52:52 +0000

Fixing compilation with --enable-justify and tiny.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4726 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 1+
Msrc/text.c | 5++++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -13,6 +13,7 @@ * configure.ac: Allow other enablers to override --enable-tiny too. * src/{proto.h,search.c}: Fix compilation with --enable-browser. * src/global.c (shortcut_init): Fix warnings with --enable-help. + * src/text.c (do_justify): Fix compilation with --enable-justify. 2014-04-03 Benno Schulenberg <bensberg@justemail.net> * configure.ac: Remove unused '*_support' variables. diff --git a/src/text.c b/src/text.c @@ -1979,7 +1979,9 @@ void do_justify(bool full_justify) if (full_justify) openfile->current = openfile->fileage; +#ifndef NANO_TINY allow_pending_sigwinch(FALSE); +#endif while (TRUE) { size_t i; @@ -2352,8 +2354,9 @@ void do_justify(bool full_justify) shortcut_init(FALSE); display_main_list(); +#ifndef NANO_TINY allow_pending_sigwinch(TRUE); - +#endif } /* Justify the current paragraph. */