summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
committerterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
commit88ca183191d781effd96add853e40d37ce3a0233 (patch)
tree9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/music
parent04242e19cf29aedca783f4657e2c448d40f37420 (diff)
downloadopenttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/music')
-rw-r--r--src/music/extmidi.cpp2
-rw-r--r--src/music/qtmidi.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/music/extmidi.cpp b/src/music/extmidi.cpp
index 3842fc50c..6c8ee8d69 100644
--- a/src/music/extmidi.cpp
+++ b/src/music/extmidi.cpp
@@ -99,7 +99,7 @@ void MusicDriver_ExtMidi::DoPlay()
case -1:
DEBUG(driver, 0, "extmidi: couldn't fork: %s", strerror(errno));
- /* FALLTHROUGH */
+ /* FALL THROUGH */
default:
this->song[0] = '\0';
diff --git a/src/music/qtmidi.cpp b/src/music/qtmidi.cpp
index 782ad7aa7..d938d37bf 100644
--- a/src/music/qtmidi.cpp
+++ b/src/music/qtmidi.cpp
@@ -240,7 +240,7 @@ void MusicDriver_QtMidi::Stop()
case QT_STATE_PLAY:
StopSong();
- /* Fall-through */
+ /* FALL THROUGH */
case QT_STATE_STOP:
DisposeMovie(_quicktime_movie);
@@ -265,13 +265,13 @@ void MusicDriver_QtMidi::PlaySong(const char *filename)
case QT_STATE_PLAY:
StopSong();
DEBUG(driver, 3, "qtmidi: previous tune stopped");
- /* Fall-through -- no break needed. */
+ /* FALL THROUGH */
case QT_STATE_STOP:
DisposeMovie(_quicktime_movie);
DEBUG(driver, 3, "qtmidi: previous tune disposed");
_quicktime_state = QT_STATE_IDLE;
- /* Fall-through -- no break needed. */
+ /* FALL THROUGH */
case QT_STATE_IDLE:
LoadMovieForMIDIFile(filename, &_quicktime_movie);
@@ -292,7 +292,7 @@ void MusicDriver_QtMidi::StopSong()
switch (_quicktime_state) {
case QT_STATE_IDLE:
- /* Fall-through -- no break needed. */
+ /* FALL THROUGH */
case QT_STATE_STOP:
DEBUG(driver, 3, "qtmidi: stop requested, but already idle");