diff options
Diffstat (limited to 'src/gui/gui-input.c')
-rw-r--r-- | src/gui/gui-input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index d052429d1..a635c021f 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -578,7 +578,7 @@ gui_input_search_text_here (struct t_gui_buffer *buffer) window = gui_window_search_with_buffer (buffer); if (window && (window->buffer->text_search == GUI_TEXT_SEARCH_DISABLED)) { - gui_window_search_start_here (window); + gui_window_search_start (window, window->scroll->start_line); gui_input_search_signal (buffer); } } @@ -595,7 +595,7 @@ gui_input_search_text (struct t_gui_buffer *buffer) window = gui_window_search_with_buffer (buffer); if (window && (window->buffer->text_search == GUI_TEXT_SEARCH_DISABLED)) { - gui_window_search_start (window); + gui_window_search_start (window, NULL); gui_input_search_signal (buffer); } } |