summaryrefslogtreecommitdiff
path: root/src/audioinputenginemidi.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-07-25 21:24:38 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:57 +0200
commitf2fa9543a11fd5551aa619160d5a02b886fb1bbb (patch)
tree6c6adcd10be04aca81b283f82920dbd0b880467e /src/audioinputenginemidi.cc
parent7543b64a995c1a2d3eb598c049919729016ba252 (diff)
Rewrite MidiMapParser to use pugixml.
Diffstat (limited to 'src/audioinputenginemidi.cc')
-rw-r--r--src/audioinputenginemidi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc
index 3ac2a96..6e76f19 100644
--- a/src/audioinputenginemidi.cc
+++ b/src/audioinputenginemidi.cc
@@ -67,7 +67,7 @@ bool AudioInputEngineMidi::loadMidiMap(const std::string& file,
}
MidiMapParser midimap_parser;
- if(midimap_parser.parseFile(f))
+ if(!midimap_parser.parseFile(f))
{
return false;
}