summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/disktidy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c
index 5ed3f76..995fd6d 100644
--- a/apps/plugins/disktidy.c
+++ b/apps/plugins/disktidy.c
@@ -59,10 +59,10 @@ void add_item(const char* name, int index)
}
else
entry->directory = false;
- a = rb->strchr(name, '*');
+ a = rb->strchr(entry->filestring, '*');
if (a)
{
- entry->pre = a - name;
+ entry->pre = a - entry->filestring;
entry->post = rb->strlen(a+1);
}
else