diff options
Diffstat (limited to 'xC.c')
-rw-r--r-- | xC.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -616,7 +616,7 @@ input_rl_buffer_add_history (void *input, input_buffer_t input_buffer, // or temporarily switch histories. if (!buffer->history) { - bool at_end = history_offset == history_length; + bool at_end = where_history () == history_length; add_history (line); if (at_end) next_history (); |