diff options
author | wm4 <wm4@nowhere> | 2014-05-25 20:17:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-25 20:17:03 +0200 |
commit | 0e1ab2a8da8dee6caf1ce0e6604b9a1ba5f3f7fd (patch) | |
tree | 488ae5d9bf93d0df028cc5c1b4b7594a9ccf6648 /TOOLS/lua | |
parent | 2309bb91ccb2fdb60f6092bb7f398419c546204d (diff) | |
download | mpv-0e1ab2a8da8dee6caf1ce0e6604b9a1ba5f3f7fd.tar.bz2 mpv-0e1ab2a8da8dee6caf1ce0e6604b9a1ba5f3f7fd.tar.xz |
autoload.lua: fix autoloading of files to prepend
This used the wrong index variable, and thus didn't work.
Diffstat (limited to 'TOOLS/lua')
-rw-r--r-- | TOOLS/lua/autoload.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua index 37ceb97fdf..1fe1aec49c 100644 --- a/TOOLS/lua/autoload.lua +++ b/TOOLS/lua/autoload.lua @@ -52,7 +52,7 @@ function find_and_add_entries() end end if dir == -1 then - if current == 1 then -- never add additional entries in the middle + if pl_current == 1 then -- never add additional entries in the middle mp.msg.info("Prepending " .. file) table.insert(append[-1], 1, file) end |