diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 11:33:00 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 11:33:00 +0000 |
commit | de773b5fe013ccceba2331a8ceeaccc58ab4546e (patch) | |
tree | 5a6362d2acbd4aeaeeb987af1b702cfc818276cb /navigator.c | |
parent | f99e409f2d08dabb975b978a8918d5f23cb05f89 (diff) | |
download | imv-de773b5fe013ccceba2331a8ceeaccc58ab4546e.tar.gz |
Fix invalid path skipping
Diffstat (limited to 'navigator.c')
-rw-r--r-- | navigator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navigator.c b/navigator.c index 115b8bf..393f887 100644 --- a/navigator.c +++ b/navigator.c @@ -145,7 +145,7 @@ void imv_navigator_remove_current_path(struct imv_navigator *nav) struct imv_loop_item *cur = nav->cur; cur->next->prev = cur->prev; cur->prev->next = cur->next; - if(nav->last_move_direction > 0) { + if(nav->last_move_direction < 0) { nav->cur = cur->prev; } else { nav->cur = cur->next; |