mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-06 16:50:12 +01:00
Fix extra spaces
This commit is contained in:
committed by
Paul Licameli
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() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user