diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/command-history.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/command-history.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-common/core/command-history.c b/src/fe-common/core/command-history.c index f957d385..55474b1b 100644 --- a/src/fe-common/core/command-history.c +++ b/src/fe-common/core/command-history.c @@ -150,7 +150,6 @@ const char *command_history_next(WINDOW_REC *window, const char *text) void command_history_clear_pos_func(HISTORY_REC *history, gpointer user_data) { - history->over_counter = 0; history->pos = NULL; } diff --git a/src/fe-common/core/command-history.h b/src/fe-common/core/command-history.h index a572216b..45126092 100644 --- a/src/fe-common/core/command-history.h +++ b/src/fe-common/core/command-history.h @@ -7,7 +7,7 @@ typedef struct { char *name; GList *list, *pos; - int lines, over_counter; + int lines; int refcount; } HISTORY_REC; |