1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-08 09:36:24 +01:00

Fix extra spaces

This commit is contained in:
James Crook
2018-02-08 21:42:20 +00:00
committed by Paul Licameli
parent 860110ff2d
commit fa1cedb044

View File

@@ -326,11 +326,14 @@ void LongMessageDialog::AcceptText( const wxString & Text )
void LongMessageDialog::Flush() void LongMessageDialog::Flush()
{ {
if( pDlg ){ if( pDlg ){
if( !pDlg->mText.EndsWith( "\n\n" ))
{
pDlg->mText += "\n\n"; pDlg->mText += "\n\n";
pDlg->mTextCtrl->SetValue( pDlg->mText ); pDlg->mTextCtrl->SetValue( pDlg->mText );
pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() ); pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() );
} }
} }
}