1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +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...

View File

@ -42,7 +42,7 @@ HitTestPreview StretchHandle::HitPreview( StretchEnum stretchMode, bool unsafe )
::MakeCursor(wxCURSOR_BULLSEYE, StretchCursorXpm, 16, 16);
if (unsafe) {
return { _(""), &*disabledCursor };
return { wxT(""), &*disabledCursor };
}
else {
wxCursor *pCursor = NULL;