1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-24 23:13:42 +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(); wxMutexGuiEnter();
} }
wxString stamp;
TimeStamp(&stamp);
if (mBuffer.IsEmpty()) { if (mBuffer.IsEmpty()) {
wxString stamp;
TimeStamp(&stamp);
mBuffer << stamp << wxT("Audacity ") << AUDACITY_VERSION_STRING << wxT("\n"); mBuffer << stamp << wxT("Audacity ") << AUDACITY_VERSION_STRING << wxT("\n");
} }
mBuffer << stamp << str << wxT("\n"); mBuffer << str << wxT("\n");
mUpdated = true; mUpdated = true;