Get rid of duplicate timestamp in log

This commit is contained in:
Leland Lucius 2015-08-25 16:14:32 -05:00
parent 17adbda240
commit ff00a7f13d
1 changed files with 5 additions and 5 deletions

View File

@ -74,15 +74,15 @@ void AudacityLogger::DoLogText(const wxString & str)
wxMutexGuiEnter();
}
wxString stamp;
TimeStamp(&stamp);
if (mBuffer.IsEmpty()) {
wxString stamp;
TimeStamp(&stamp);
mBuffer << stamp << wxT("Audacity ") << AUDACITY_VERSION_STRING << wxT("\n");
}
mBuffer << stamp << str << wxT("\n");
mBuffer << str << wxT("\n");
mUpdated = true;