aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-06 19:37:26 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-06 20:17:42 +0000
commit2cefa55f57dc4d9cd2e14388ec7e1c1a5d32de96 (patch)
tree02e7c2d65a778e310f4156c8733f167420760e32 /main.c
parentdd2a9224238b577a138c77cac6e2c0a36268734d (diff)
downloadimv-2cefa55f57dc4d9cd2e14388ec7e1c1a5d32de96.tar.gz
Fix skip ordering
Diffstat (limited to 'main.c')
-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;