diff --git a/gtk2_ardour/latency_gui.cc b/gtk2_ardour/latency_gui.cc index 73b6bf1a30..c7e5693f01 100644 --- a/gtk2_ardour/latency_gui.cc +++ b/gtk2_ardour/latency_gui.cc @@ -52,7 +52,7 @@ LatencyGUI::LatencyGUI (Latent& l, framepos_t sr, framepos_t psz) { Widget* w; - if (unit_strings.empty()) { + if (!unit_strings.empty()) { unit_strings = I18N (_unit_strings); } diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 9be3d50841..341fadbeb8 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -516,7 +516,7 @@ PlugUIBase::latency_button_clicked () { if (!latency_gui) { latency_gui = new LatencyGUI (*(insert.get()), insert->session().frame_rate(), insert->session().get_block_size()); - latency_dialog = new ArdourDialog ("Edit Latency", false, false); + latency_dialog = new ArdourDialog (_("Edit Latency"), false, false); latency_dialog->get_vbox()->pack_start (*latency_gui); latency_dialog->signal_hide().connect (sigc::mem_fun (*this, &PlugUIBase::set_latency_label)); }