summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
165 } 165 }
166 dircache_root = new; 166 dircache_root = new;
167 167
168 d_names_start -= diff; 168 d_names_start += diff;
169 d_names_end -= diff; 169 d_names_end += diff;
170 dot -= diff; 170 dot += diff;
171 dotdot -= diff; 171 dotdot += diff;
172 172
173 return BUFLIB_CB_OK; 173 return BUFLIB_CB_OK;
174} 174}