1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Avoid attempting to translate empty string.

This commit is contained in:
James Crook
2017-07-22 11:49:32 +01:00
parent 6f12e6ae34
commit 9fa63763f4
2 changed files with 2 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ void TracksPrefs::SetPinnedHeadPreference(bool value, bool flush)
wxString TracksPrefs::GetDefaultAudioTrackNamePreference()
{
const auto name =
gPrefs->Read(wxT("/GUI/TrackNames/DefaultTrackName"), _(""));
gPrefs->Read(wxT("/GUI/TrackNames/DefaultTrackName"), wxT(""));
if (name.empty())
// When nothing was specified,
// the default-default is whatever translation of...