mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 06:39:26 +02:00
Get rid of duplicate timestamp in log
This commit is contained in:
parent
17adbda240
commit
ff00a7f13d
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user