mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
parent
b1d16a2300
commit
1b03970d79
@ -76,6 +76,9 @@ local function read_options(options, identifier, on_update)
|
||||
msg.verbose("Opened config file " .. conffilename .. ".")
|
||||
local linecounter = 1
|
||||
for line in f:lines() do
|
||||
if line:sub(#line) == "\r" then
|
||||
line = line:sub(1, #line - 1)
|
||||
end
|
||||
if string.find(line, "#") == 1 then
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user