changeset 25675:fcac7e2a38fc

fix bug in error message (found by Diego through a compiler warning)
author rik
date Sun, 13 Jan 2008 00:10:02 +0000
parents b13f792efe7b
children a721f266b21b
files libvo/vo_bl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_bl.c	Sat Jan 12 16:30:41 2008 +0000
+++ b/libvo/vo_bl.c	Sun Jan 13 00:10:02 2008 +0000
@@ -422,7 +422,7 @@
 					bl_hosts[no_bl_hosts].port);
 			no_bl_hosts++;
 		} else {
-			mp_msg(MSGT_VO, MSGL_ERR, "bl: syntax error in entry %d in subdevice %s, should be a comma separated\nlist of host=name:port and file=foo.bml\n", no_bl_hosts, no_bl_files, arg);
+			mp_msg(MSGT_VO, MSGL_ERR, "bl: syntax error in entry %d in subdevice %s, should be a comma separated\nlist of host=name:port and file=foo.bml\n", no_bl_hosts + no_bl_files, arg);
 			return 1;
 		}
 		p = ++q;