diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-20 21:41:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-20 21:41:44 +0000 |
commit | af8b8d2fa466a9bc122e3eddc0125aaa185e25a1 (patch) | |
tree | 78ed265daac956eb6ccbc52211ac7e3c97e8a403 | |
parent | 18f18eb2dc52be942b133927cb76c0e17ef742e8 (diff) |
Fix stray newline that should only be printed in verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19468 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | parser-cfg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parser-cfg.c b/parser-cfg.c index c792ced3ac..02b6337d1a 100644 --- a/parser-cfg.c +++ b/parser-cfg.c @@ -73,7 +73,9 @@ int m_config_parse_config_file(m_config_t* config, char *conffile) mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno)); ret = -1; goto out; - } + } else + + mp_msg(MSGT_CFGPARSER,MSGL_V,"\n"); if ((fp = fopen(conffile, "r")) == NULL) { mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno)); @@ -81,7 +83,6 @@ int m_config_parse_config_file(m_config_t* config, char *conffile) ret = 0; goto out; } - mp_msg(MSGT_CFGPARSER,MSGL_INFO,"\n"); while (fgets(line, MAX_LINE_LEN, fp)) { if (errors >= 16) { |