TOOLS/lua: no longer gsub out "lua/" prefix, now that its no longer there

This commit is contained in:
Kevin Mitchell 2014-05-04 12:29:32 -07:00
parent 040c050f2d
commit 74984aaff1
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
-- to mpv's arguments. This may be desirable to allow cropdetect more
-- time to collect data.
script_name=string.gsub(mp.get_script_name(),"lua/","")
script_name=mp.get_script_name()
cropdetect_label=string.format("%s-cropdetect",script_name)
crop_label=string.format("%s-crop",script_name)

View File

@ -17,7 +17,7 @@
-- OSD feedback of the current filter state is displayed on pressing
-- each bound key.
script_name=mp.get_script_name():gsub("lua/","",1)
script_name=mp.get_script_name()
function print_state(params)
if params then