diff gui/cfg.c @ 33530:7ced3616af42

Revise some messages. Revise message levels, message types and texts, move some messages at a more appropriate place and remove an unused message.
author ib
date Tue, 14 Jun 2011 23:05:02 +0000
parents e413b573e4ec
children c5a19bbeac2b
line wrap: on
line diff
--- a/gui/cfg.c	Tue Jun 14 18:55:04 2011 +0000
+++ b/gui/cfg.c	Tue Jun 14 23:05:02 2011 +0000
@@ -264,7 +264,7 @@
 
     cfg = get_path("gui.conf");
 
-    mp_msg(MSGT_GPLAYER, MSGL_V, "[cfg] reading config file: %s\n", cfg);
+    mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[cfg] file: %s\n", cfg);
 
     gui_conf = m_config_new();
 
@@ -276,7 +276,7 @@
     m_config_register_options(gui_conf, gui_opts);
 
     if (!disable_gui_conf && (m_config_parse_config_file(gui_conf, cfg) < 0)) {
-        mp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_ConfigFileError);
+        gmp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_ConfigFileError);
 // guiExit(1);
     }