Highlight search results

This commit is contained in:
Moritz Lipp 2010-03-28 20:59:25 +02:00
parent 74dbf7f267
commit 0fba6ee9a3

View file

@ -1091,10 +1091,10 @@ search(void* parameter)
/* draw results */ /* draw results */
if(results) if(results)
{ {
set_page(next_page);
for(list = results; list && list->data; list = g_list_next(list)) for(list = results; list && list->data; list = g_list_next(list))
highlight_result(next_page, (PopplerRectangle*) list->data); highlight_result(next_page, (PopplerRectangle*) list->data);
set_page(next_page);
} }
else else
{ {