summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-09-15 22:45:41 +0200
committerDudemanguy <random342@airmail.cc>2023-09-15 21:19:34 +0000
commit43e960e1f6e27f0309c3723d2f88abcb5e9e2a52 (patch)
tree295c0272641feee10141b5534e50eaa21b2edce6 /TOOLS
parent55a46214c4c01edfa6c95f57d7824b95bff3e693 (diff)
downloadmpv-43e960e1f6e27f0309c3723d2f88abcb5e9e2a52.tar.bz2
mpv-43e960e1f6e27f0309c3723d2f88abcb5e9e2a52.tar.xz
TOOLS/lua/autoload: pass extensions to recursive call
Closes #12400
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/lua/autoload.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua
index 5737f1b634..92319d586f 100644
--- a/TOOLS/lua/autoload.lua
+++ b/TOOLS/lua/autoload.lua
@@ -200,7 +200,7 @@ function scan_dir(path, current_file, dir_mode, separator, dir_depth, total_file
if dir_mode == "recursive" then
for _, dir in ipairs(dirs) do
scan_dir(prefix .. dir .. separator, current_file, dir_mode,
- separator, dir_depth + 1, total_files)
+ separator, dir_depth + 1, total_files, extensions)
end
else
for i, dir in ipairs(dirs) do