X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftempo_dialog.cc;h=0b570abdaa2fcc780de2b5dc78beb8ee8411db21;hb=8e1a9f0adabc3f60193a78313d93317df5fddadf;hp=37771eff76f24f51384fcb16518b65fa6499b943;hpb=6b019a495359909a3d1a778ca10cd7df7cc302cc;p=ardour.git diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc index 37771eff76..0b570abdaa 100644 --- a/gtk2_ardour/tempo_dialog.cc +++ b/gtk2_ardour/tempo_dialog.cc @@ -105,7 +105,7 @@ TempoDialog::init (const Timecode::BBT_Time& when, double bpm, double note_type, if (x == note_types.end()) { pulse_selector.set_active_text (strings[3]); // "quarter" } - + Table* table; if (UIConfiguration::instance().get_allow_non_quarter_pulse()) { @@ -249,7 +249,7 @@ double TempoDialog::get_note_type () { NoteTypes::iterator x = note_types.find (pulse_selector.get_active_text()); - + if (x == note_types.end()) { error << string_compose(_("incomprehensible pulse note type (%1)"), pulse_selector.get_active_text()) << endmsg; return 0; @@ -367,7 +367,7 @@ MeterDialog::init (const Timecode::BBT_Time& when, double bpb, double divisor, b break; } } - + if (x == note_types.end()) { note_type.set_active_text (strings[3]); // "quarter" } @@ -498,7 +498,7 @@ double MeterDialog::get_note_type () { NoteTypes::iterator x = note_types.find (note_type.get_active_text()); - + if (x == note_types.end()) { error << string_compose(_("incomprehensible meter note type (%1)"), note_type.get_active_text()) << endmsg; return 0;