summaryrefslogtreecommitdiffstats
path: root/src/sound/MidiFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/MidiFile.cpp')
-rw-r--r--src/sound/MidiFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/MidiFile.cpp b/src/sound/MidiFile.cpp
index a2a4475..76d5c85 100644
--- a/src/sound/MidiFile.cpp
+++ b/src/sound/MidiFile.cpp
@@ -464,7 +464,7 @@ MidiFile::parseHeader(const string &midiHeader)
m_numberOfTracks = midiBytesToInt(midiHeader.substr(10, 2));
m_timingDivision = midiBytesToInt(midiHeader.substr(12, 2));
- if ( m_format == MIDI_SETQUENTIAL_TRACK_FILE ) {
+ if ( m_format == MIDI_SEQUENTIAL_TRACK_FILE ) {
#ifdef MIDI_DEBUG
std::cerr << "MidiFile::parseHeader()"
<< "- can't load sequential track file"