[MPlayer-cvslog] r19468 - trunk/parser-cfg.c
diego
subversion at mplayerhq.hu
Sun Aug 20 23:41:44 CEST 2006
Author: diego
Date: Sun Aug 20 23:41:44 2006
New Revision: 19468
Modified:
trunk/parser-cfg.c
Log:
Fix stray newline that should only be printed in verbose mode.
Modified: trunk/parser-cfg.c
==============================================================================
--- trunk/parser-cfg.c (original)
+++ trunk/parser-cfg.c Sun Aug 20 23:41:44 2006
@@ -73,7 +73,9 @@
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 @@
ret = 0;
goto out;
}
- mp_msg(MSGT_CFGPARSER,MSGL_INFO,"\n");
while (fgets(line, MAX_LINE_LEN, fp)) {
if (errors >= 16) {
More information about the MPlayer-cvslog
mailing list