Fix misleading comment in set_buffer_maintaining_pager()

This function used to clear the pager search field but it no longer does.

No functional change.
This commit is contained in:
Johannes Altmanninger 2022-07-28 10:15:26 +02:00
parent 2e8ecfdb44
commit 1fc3d51dde

View File

@ -2493,7 +2493,7 @@ void reader_data_t::set_buffer_maintaining_pager(const wcstring &b, size_t pos,
if (pos > command_line_len) pos = command_line_len; //!OCLINT(parameter reassignment)
update_buff_pos(&command_line, pos);
// Clear history search and pager contents.
// Clear history search.
history_search.reset();
}