slight cleanup in search()
This commit is contained in:
parent
87ebcd380f
commit
ca02e5adb3
|
@ -30,11 +30,10 @@ static void search(VteTerminal *vte, const char *pattern, bool reverse) {
|
||||||
|
|
||||||
if (!reverse) {
|
if (!reverse) {
|
||||||
vte_terminal_search_find_next(vte);
|
vte_terminal_search_find_next(vte);
|
||||||
vte_terminal_copy_primary(vte);
|
|
||||||
} else {
|
} else {
|
||||||
vte_terminal_search_find_previous(vte);
|
vte_terminal_search_find_previous(vte);
|
||||||
vte_terminal_copy_primary(vte);
|
|
||||||
}
|
}
|
||||||
|
vte_terminal_copy_primary(vte);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void search_response_cb(GtkDialog *dialog, gint response_id, search_dialog_info *info) {
|
static void search_response_cb(GtkDialog *dialog, gint response_id, search_dialog_info *info) {
|
||||||
|
|
Loading…
Reference in New Issue