1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 09:29:30 +02:00

attempt to fix "illegal instruction" issue on Debian with r11866, reported by Steve

This commit is contained in:
v.audacity 2012-07-25 02:33:16 +00:00
parent d90e6c5285
commit b933a02542

View File

@ -238,7 +238,7 @@ void SelectionBar::Populate()
mSnapTo->SetName(_("Snap To"));
mSnapTo->SetValue(gPrefs->Read(wxT("/SnapTo"), 0L)!=0);
#if wxUSE_TOOLTIPS
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName));
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName.c_str()));
#endif
mSnapTo->Connect(wxEVT_SET_FOCUS,
@ -367,7 +367,7 @@ void SelectionBar::OnUpdate(wxCommandEvent &evt)
wxString formatName(ttc->GetBuiltinName(index));
gPrefs->Write(wxT("/SelectionFormat"), formatName);
#if wxUSE_TOOLTIPS
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName));
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName.c_str()));
#endif
delete ttc;