diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/disktidy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c index 5ed3f76e22..995fd6d28d 100644 --- a/apps/plugins/disktidy.c +++ b/apps/plugins/disktidy.c | |||
@@ -59,10 +59,10 @@ void add_item(const char* name, int index) | |||
59 | } | 59 | } |
60 | else | 60 | else |
61 | entry->directory = false; | 61 | entry->directory = false; |
62 | a = rb->strchr(name, '*'); | 62 | a = rb->strchr(entry->filestring, '*'); |
63 | if (a) | 63 | if (a) |
64 | { | 64 | { |
65 | entry->pre = a - name; | 65 | entry->pre = a - entry->filestring; |
66 | entry->post = rb->strlen(a+1); | 66 | entry->post = rb->strlen(a+1); |
67 | } | 67 | } |
68 | else | 68 | else |