]> git.sesse.net Git - vlc/commitdiff
Don't reprint messages on quit
authorClément Stenac <zorglub@videolan.org>
Sun, 2 Oct 2005 07:54:03 +0000 (07:54 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 2 Oct 2005 07:54:03 +0000 (07:54 +0000)
src/misc/messages.c

index 3e05628973599c54eb609bc2336cc239b69a7e2d..332668c3295ec46b4e853790e46fb741fb761f21 100644 (file)
@@ -105,12 +105,15 @@ void __msg_Flush( vlc_object_t *p_this )
 
     p_this->p_libvlc->msg_bank.b_configured = VLC_TRUE;
 
+#if 0
+    /* Some messages remain in the queue, dont rewrite them */
     for( i_index = p_this->p_libvlc->msg_bank.i_start;
          i_index != p_this->p_libvlc->msg_bank.i_stop;
          i_index = (i_index+1) % VLC_MSG_QSIZE )
     {
         PrintMsg( p_this, &p_this->p_libvlc->msg_bank.msg[i_index] );
     }
+#endif
 
     FlushMsg( &p_this->p_libvlc->msg_bank );