Commit b6ceabb1 authored by ipkiss's avatar ipkiss

* modules/gui/wxwidgets/messages.cpp: set the insertion point only before...

 * modules/gui/wxwidgets/messages.cpp: set the insertion point only before inserting text (patch by zcot)
parent e5455af9
...@@ -143,10 +143,10 @@ void Messages::UpdateLog() ...@@ -143,10 +143,10 @@ void Messages::UpdateLog()
int i_stop = *p_sub->pi_stop; int i_stop = *p_sub->pi_stop;
vlc_mutex_unlock( p_sub->p_lock ); vlc_mutex_unlock( p_sub->p_lock );
textctrl->SetInsertionPointEnd();
if( p_sub->i_start != i_stop ) if( p_sub->i_start != i_stop )
{ {
textctrl->SetInsertionPointEnd();
for( i_start = p_sub->i_start; for( i_start = p_sub->i_start;
i_start != i_stop; i_start != i_stop;
i_start = (i_start+1) % VLC_MSG_QSIZE ) i_start = (i_start+1) % VLC_MSG_QSIZE )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment