changeset 10853:1e04ac498440

force a new line if a message is very long
author pl
date Fri, 12 Sep 2003 15:46:16 +0000
parents f454de95f62f
children 53611f557562
files mp_msg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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