summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c
index 4ba4198aeb..0c8c415630 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -158,7 +158,7 @@ static char *script_name_from_filename(void *talloc_ctx, const char *fname)
!(c >= '0' && c <= '9'))
name[n] = '_';
}
- return talloc_asprintf(talloc_ctx, "lua/%s", name);
+ return talloc_asprintf(talloc_ctx, "%s", name);
}
static int load_file(struct script_ctx *ctx, const char *fname)