diff --git a/links.c b/links.c index c3bb3e3..47030e2 100644 --- a/links.c +++ b/links.c @@ -134,7 +134,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) switch (link->type) { case ZATHURA_LINK_GOTO_DEST: if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { - if (link->target.scale != 0 && link_zoom) { + if (link->target.scale >= DBL_EPSILON && link_zoom) { zathura_document_set_scale(zathura->document, zathura_correct_scale_value(zathura->ui.session, link->target.scale)); render_all(zathura);