mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Fix extra spaces
This commit is contained in:
parent
860110ff2d
commit
fa1cedb044
@ -326,9 +326,12 @@ void LongMessageDialog::AcceptText( const wxString & Text )
|
||||
void LongMessageDialog::Flush()
|
||||
{
|
||||
if( pDlg ){
|
||||
pDlg->mText += "\n\n";
|
||||
pDlg->mTextCtrl->SetValue( pDlg->mText );
|
||||
pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() );
|
||||
if( !pDlg->mText.EndsWith( "\n\n" ))
|
||||
{
|
||||
pDlg->mText += "\n\n";
|
||||
pDlg->mTextCtrl->SetValue( pDlg->mText );
|
||||
pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user