summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-14 23:48:18 +0200
committerwm4 <wm4@nowhere>2013-10-14 23:48:18 +0200
commitf0a5ff39a11574a5b5b7398bce08be8a36428354 (patch)
treef0c27ec0c389d100e8c6f64e219bdbfe15c6c859 /mpvcore
parent7cbb7b680c401077364814094260ea388b46fb33 (diff)
downloadmpv-f0a5ff39a11574a5b5b7398bce08be8a36428354.tar.bz2
mpv-f0a5ff39a11574a5b5b7398bce08be8a36428354.tar.xz
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.
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/lua/osc.lua b/mpvcore/lua/osc.lua
index 648fdc142f..d3deb97ac9 100644
--- a/mpvcore/lua/osc.lua
+++ b/mpvcore/lua/osc.lua
@@ -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")