nano

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

commit c692a6ca70b486729a4d740c732fb976b35afa26
parent 0346e63c201815a82223aaf1e1475fdf2758fc61
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  7 Nov 2021 11:23:45 +0100

tweaks: reshuffle a line into its proper order, and improve two comments

Diffstat:
Msrc/global.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -218,15 +218,16 @@ funcstruct *exitfunc; linestruct *search_history = NULL; /* The current item in the list of strings that were searched for. */ -linestruct *execute_history = NULL; - /* The current item in the list of commands that were run with ^R ^X. */ linestruct *replace_history = NULL; /* The current item in the list of replace strings. */ +linestruct *execute_history = NULL; + /* The current item in the list of commands that were run with ^T. */ + #ifdef ENABLE_HISTORIES linestruct *searchtop = NULL; /* The oldest item in the list of search strings. */ linestruct *searchbot = NULL; - /* The newest item in the list of search strings. */ + /* The empty item at the end of the list of search strings. */ linestruct *replacetop = NULL; linestruct *replacebot = NULL;