mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 19:56:01 +01:00
Highlight search results
This commit is contained in:
parent
74dbf7f267
commit
0fba6ee9a3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue