1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 09:29:30 +02:00

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

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;