summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorOtto Modinos <ottomodinos@gmail.com>2014-09-16 18:19:22 +0300
committerwm4 <wm4@nowhere>2014-09-16 17:34:08 +0200
commit33a63d8e6ea39d81d0fb6805a40982de1e7340cd (patch)
treea66f9cbe995368140730f61d2e9b9e54954e62e6 /player/lua
parentb41ece5ad4d902f742e939e8c9670d9d4688cb1c (diff)
downloadmpv-33a63d8e6ea39d81d0fb6805a40982de1e7340cd.tar.bz2
mpv-33a63d8e6ea39d81d0fb6805a40982de1e7340cd.tar.xz
options.lua: call msg.debug after resolving 'identifier'
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/options.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/player/lua/options.lua b/player/lua/options.lua
index ca1de400f9..6e53c2c48a 100644
--- a/player/lua/options.lua
+++ b/player/lua/options.lua
@@ -31,11 +31,10 @@ end
function read_options(options, identifier)
- msg.debug("reading options for " .. identifier)
-
if identifier == nil then
identifier = mp.get_script_name()
end
+ msg.debug("reading options for " .. identifier)
-- read config file
local conffilename = "lua-settings/" .. identifier .. ".conf"