From de0368812499662bacca9429cad92a9d3fe16f07 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 12 Mar 2020 22:16:44 +0100 Subject: [PATCH] Remove redundant condition --- zathura/shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c index 2097032..eef6b76 100644 --- a/zathura/shortcuts.c +++ b/zathura/shortcuts.c @@ -969,7 +969,7 @@ sc_search(girara_session_t* session, girara_argument_t* argument, zathura_jumplist_add(zathura); position_set(zathura, pos_x, pos_y); zathura_jumplist_add(zathura); - } else if (target_page == NULL && argument->data != NULL) { + } else if (argument->data != NULL) { const char* input = argument->data; girara_notify(session, GIRARA_ERROR, _("Pattern not found: %s"), input); }