summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7cb57e7..8fbe6ad 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -853,7 +853,7 @@ static int onplay_screen(char* dir, char* file)
if (dir[1])
snprintf(buf, sizeof buf, "%s/%s", dir, file);
else
- snprintf(buf, sizeof buf, "/%s", dir, file);
+ snprintf(buf, sizeof buf, "/%s", file);
if (playing) {
items[lastitem].desc=str(LANG_QUEUE);