mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
Avoid attempting to translate empty string.
This commit is contained in:
@@ -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...
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user