aboutsummaryrefslogtreecommitdiff
path: root/navigator.c
diff options
context:
space:
mode:
Diffstat (limited to 'navigator.c')
-rw-r--r--navigator.c2
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;