[Mplayer-cvslog] CVS: main mp_msg.c,1.23,1.24

pl CVS pl at mplayerhq.hu
Fri Sep 12 17:46:39 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv17005

Modified Files:
	mp_msg.c 
Log Message:
force a new line if a message is very long


Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- mp_msg.c	13 Jul 2003 14:43:28 -0000	1.23
+++ mp_msg.c	12 Sep 2003 15:46:16 -0000	1.24
@@ -68,6 +68,7 @@
     va_start(va, format);
     vsnprintf(tmp, MSGSIZE_MAX, mp_gettext(format), va);
     va_end(va);
+    tmp[MSGSIZE_MAX-2] = '\n';
     tmp[MSGSIZE_MAX-1] = 0;
 
 #if ENABLE_GUI_CODE



More information about the MPlayer-cvslog mailing list