mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 06:46:01 +01:00
Resolve girara_list_iter assertion
This commit is contained in:
parent
82a6caa211
commit
4450f41e1e
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ zathura_page_view_expose(GtkWidget* widget, GdkEventExpose* event)
|
|||
g_free(font);
|
||||
|
||||
/* draw links */
|
||||
if (priv->draw_links == true) {
|
||||
if (priv->draw_links == true && priv->number_of_links != 0) {
|
||||
unsigned int link_counter = 0;
|
||||
GIRARA_LIST_FOREACH(priv->links, zathura_link_t*, iter, link)
|
||||
zathura_rectangle_t rectangle = recalc_rectangle(priv->page, link->position);
|
||||
|
|
Loading…
Reference in a new issue