mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 16:20: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()
|
void LongMessageDialog::Flush()
|
||||||
{
|
{
|
||||||
if( pDlg ){
|
if( pDlg ){
|
||||||
pDlg->mText += "\n\n";
|
if( !pDlg->mText.EndsWith( "\n\n" ))
|
||||||
pDlg->mTextCtrl->SetValue( pDlg->mText );
|
{
|
||||||
pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() );
|
pDlg->mText += "\n\n";
|
||||||
|
pDlg->mTextCtrl->SetValue( pDlg->mText );
|
||||||
|
pDlg->mTextCtrl->ShowPosition( pDlg->mTextCtrl->GetLastPosition() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user