summaryrefslogtreecommitdiff
path: root/firmware/common/dircache.c
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2011-10-21 06:45:26 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2011-10-21 06:45:26 +0000
commit8e18dc85cf3b912aba371bcf9b8fad6d25f7d04b (patch)
tree5079957ed216a3276563999250ef0981b68df2c6 /firmware/common/dircache.c
parentd2958b9d3298f67e7648c30dfc675a8bb020e17f (diff)
fix sign error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dircache.c')
-rw-r--r--firmware/common/dircache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index c544abc567..5f3d418645 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -165,10 +165,10 @@ static int move_callback(int handle, void* current, void* new)
}
dircache_root = new;
- d_names_start -= diff;
- d_names_end -= diff;
- dot -= diff;
- dotdot -= diff;
+ d_names_start += diff;
+ d_names_end += diff;
+ dot += diff;
+ dotdot += diff;
return BUFLIB_CB_OK;
}