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:
parent
6f12e6ae34
commit
9fa63763f4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user