summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index 8f2e91222a..d275c6501c 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -190,7 +190,7 @@ static int move_callback(int handle, void* current, void* new)
(void)handle;
size_t diff = new - current;
#define FIX_PTR(x) \
- { if ((void*)x > current && (void*)x < (current+strdup_bufsize)) x+= diff; }
+ { if ((void*)x >= current && (void*)x < (current+strdup_bufsize)) x+= diff; }
for(int i = 0; i < filetype_count; i++)
{
FIX_PTR(filetypes[i].extension);