Commit 4450f41e authored by Moritz Lipp's avatar Moritz Lipp

Resolve girara_list_iter assertion

parent 82a6caa2
......@@ -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);
......
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