aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 8cbea90..df5f3b8 100644
--- a/main.c
+++ b/main.c
@@ -103,7 +103,7 @@ void remove_current_path()
struct loop_item_s* cur = g_path.cur;
cur->next->prev = cur->prev;
cur->prev->next = cur->next;
- if(g_path.dir < 0) {
+ if(g_path.dir > 0) {
g_path.cur = cur->prev;
} else {
g_path.cur = cur->next;