summaryrefslogtreecommitdiff
path: root/lv2/input_lv2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/input_lv2.cc')
-rw-r--r--lv2/input_lv2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lv2/input_lv2.cc b/lv2/input_lv2.cc
index 3659528..11e79a6 100644
--- a/lv2/input_lv2.cc
+++ b/lv2/input_lv2.cc
@@ -116,6 +116,7 @@ void InputLV2::post()
void InputLV2::loadMidiMap(std::string f)
{
+ if(f == "") return;
MidiMapParser p(f);
if(p.parse()) {/*return false;*/}
mmap.midimap = p.midimap;