Commit de036881 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Remove redundant condition

parent a3ffbe80
Pipeline #200 passed with stages
in 2 minutes and 25 seconds
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment