From 0fba6ee9a351d6b6e19c0a439410a805fc2652fa Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Sun, 28 Mar 2010 20:59:25 +0200 Subject: [PATCH] Highlight search results --- zathura.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zathura.c b/zathura.c index d3337e7..ae50fd5 100644 --- a/zathura.c +++ b/zathura.c @@ -1091,10 +1091,10 @@ search(void* parameter) /* draw results */ if(results) { + set_page(next_page); + for(list = results; list && list->data; list = g_list_next(list)) highlight_result(next_page, (PopplerRectangle*) list->data); - - set_page(next_page); } else {