diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-12 15:46:16 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-12 15:46:16 +0000 |
commit | 3c154f93b0ebe39e5c647cf888f6c091419c32ac (patch) | |
tree | 83ae22455d1beced1c9263f765fcc4f413768296 /mp_msg.c | |
parent | da6a021b74d051a6c729d54e99bab84257ca128b (diff) | |
download | mpv-3c154f93b0ebe39e5c647cf888f6c091419c32ac.tar.bz2 mpv-3c154f93b0ebe39e5c647cf888f6c091419c32ac.tar.xz |
force a new line if a message is very long
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10854 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r-- | mp_msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ void mp_msg_c( int x, const char *format, ... ){ 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 |