diff mp_msg.c @ 10853:1e04ac498440

force a new line if a message is very long
author pl
date Fri, 12 Sep 2003 15:46:16 +0000
parents c1247b33c424
children 4a6b79a1ad52
line wrap: on
line diff
--- a/mp_msg.c	Fri Sep 12 08:10:32 2003 +0000
+++ b/mp_msg.c	Fri Sep 12 15:46:16 2003 +0000
@@ -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