mirror of https://github.com/mpv-player/mpv
osc: use "info" instead of "warn" for config file creation message
When the main mpv config file, "info" is used, so this makes things consistent.
This commit is contained in:
parent
7cbb7b680c
commit
f0a5ff39a1
|
@ -121,7 +121,7 @@ function read_config(options, identifier)
|
|||
local conffile = mp.find_config_file(conffilename)
|
||||
local f = io.open(conffile,"r")
|
||||
if f == nil then
|
||||
msg.warn(conffile.." does not exist, creating it ...")
|
||||
msg.info(conffile.." does not exist, creating it ...")
|
||||
-- so create it, write default options
|
||||
local f = io.open(conffile,"w+")
|
||||
f:write("# Config file for "..identifier.."\n# <-- works only at beginning of line.\n# Do not have any spare spaces flying around.\n\n")
|
||||
|
|
Loading…
Reference in New Issue