nano

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

commit 89e84e76c363db1a896aba17e571e626dc6382fa
parent c44a5e960e7778d901094c6b19faa4fdf4386761
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed,  9 Dec 2020 16:26:50 +0100

build: fix compilation when configured with --enable-tiny

The BACK and DEL symbols are used as parameters for do_deletion().

Diffstat:
Msrc/definitions.h | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/definitions.h b/src/definitions.h @@ -265,7 +265,6 @@ typedef enum { CENTERING, FLOWING, STATIONARY } update_type; -#ifndef NANO_TINY /* The kinds of undo actions. ADD...REPLACE must come first. */ typedef enum { ADD, ENTER, BACK, DEL, JOIN, REPLACE, @@ -279,7 +278,6 @@ typedef enum { ZAP, CUT, CUT_TO_EOF, COPY, PASTE, INSERT, COUPLE_BEGIN, COUPLE_END, OTHER } undo_type; -#endif /* The elements of the interface that can be colored differently. */ enum {