Skip to content
  • Marwan Tanager's avatar
    Move calls to zathura_jumplist_add surrounding zathura_link_evaluate to... · d9f8750c
    Marwan Tanager authored and Sebastian Ramacher's avatar Sebastian Ramacher committed
    
    Move calls to zathura_jumplist_add surrounding zathura_link_evaluate to zathura_link_evaluate itself
    
    This is just in case that zathura_link_evaluate returns without evaluating the
    link, which would result in a new jump being added for the current position,
    but without adding a corresponding jump for the target position (actually a
    second one would be added but the check in zathura_jumplist_add would prevent
    it from being appended on the linked list since it's position would be the same
    as the current one, because the link haven't been evaluated).
    
    Signed-off-by: default avatarSebastian Ramacher <sebastian+dev@ramacher.at>
    d9f8750c