diff --git a/src/Forms/FixCommonErrors.cs b/src/Forms/FixCommonErrors.cs index 0b6e24ef7..d9107f8b5 100644 --- a/src/Forms/FixCommonErrors.cs +++ b/src/Forms/FixCommonErrors.cs @@ -89,7 +89,7 @@ namespace Nikse.SubtitleEdit.Forms private string _autoDetectGoogleLanguage; private List _namesEtcList; private HashSet _abbreviationList; - private StringBuilder _newLog = new StringBuilder(); + private readonly StringBuilder _newLog = new StringBuilder(); private readonly StringBuilder _appliedLog = new StringBuilder(); private int _numberOfImportantLogMessages; private List _deleteIndices = new List(); @@ -630,7 +630,7 @@ namespace Nikse.SubtitleEdit.Forms private void RunSelectedActions() { subtitleListView1.BeginUpdate(); - _newLog = new StringBuilder(); + _newLog.Clear(); _deleteIndices = new List(); Subtitle = new Subtitle(_originalSubtitle, false);