From c692a6ca70b486729a4d740c732fb976b35afa26 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 7 Nov 2021 11:23:45 +0100 Subject: [PATCH] tweaks: reshuffle a line into its proper order, and improve two comments --- src/global.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/global.c b/src/global.c index 6424181e..1f24d1bb 100644 --- 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;