summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui.cc6
-rw-r--r--gtk2_ardour/audio_clock.cc2
-rw-r--r--gtk2_ardour/editor.cc2
-rw-r--r--gtk2_ardour/meter_patterns.cc8
4 files changed, 9 insertions, 9 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index d1229c8f76..4a53766d46 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -2736,7 +2736,7 @@ If you still wish to proceed, please use the\n\n\
msg.run ();
return;
}
- /* fall through */
+ /* fallthrough */
case 0:
_session->remove_pending_capture_state ();
break;
@@ -2932,7 +2932,7 @@ If you still wish to proceed, please use the\n\n\
msg.run ();
return;
}
- /* fall through */
+ /* fallthrough */
case 0:
_session->remove_pending_capture_state ();
break;
@@ -5493,7 +5493,7 @@ ARDOUR_UI::do_audio_midi_setup (uint32_t desired_sample_rate)
if (!AudioEngine::instance()->running()) {
return -1;
}
- // fall through
+ /* fallthrough */
default:
if (!AudioEngine::instance()->running()) {
continue;
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index 674a2b4f8c..bf835b8bd7 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -520,7 +520,7 @@ AudioClock::end_edit (bool modify)
break;
case Seconds:
- /* fall through */
+ /* fallthrough */
case Samples:
if (edit_string.length() < 1) {
edit_string = pre_edit_string;
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index baffa11b8e..912eb1552e 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -4854,7 +4854,7 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
break;
}
}
- /* fallthru */
+ /* fallthrough */
default:
case EditAtMouse:
diff --git a/gtk2_ardour/meter_patterns.cc b/gtk2_ardour/meter_patterns.cc
index 7f12f16b19..e91b2579a8 100644
--- a/gtk2_ardour/meter_patterns.cc
+++ b/gtk2_ardour/meter_patterns.cc
@@ -516,7 +516,7 @@ meter_render_ticks (Gtk::Widget& w, MeterType type, vector<ARDOUR::DataType> typ
points.insert (std::pair<float,float>( 3, 1.0));
points.insert (std::pair<float,float>( 4, 0.5));
points.insert (std::pair<float,float>( 5, 0.5));
- /* fall through */
+ /* fallthrough */
case MeterPeak0dB:
points.insert (std::pair<float,float>(-60, 0.5));
points.insert (std::pair<float,float>(-50, 1.0));
@@ -752,12 +752,12 @@ meter_render_metrics (Gtk::Widget& w, MeterType type, vector<DataType> types)
points.insert (std::pair<float,string>( 0.0f, "+20"));
break;
case MeterPeak:
- /* fall through */
+ /* fallthrough */
case MeterKrms:
- /* fall through */
+ /* fallthrough */
default:
points.insert (std::pair<float,string>( 3.0f, "+3"));
- /* fall through */
+ /* fallthrough */
case MeterPeak0dB:
points.insert (std::pair<float,string>(-50.0f, "-50"));
points.insert (std::pair<float,string>(-40.0f, "-40"));