summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
Diffstat (limited to 'vst')
-rw-r--r--vst/input_vst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vst/input_vst.cc b/vst/input_vst.cc
index 52015ad..525c687 100644
--- a/vst/input_vst.cc
+++ b/vst/input_vst.cc
@@ -45,7 +45,7 @@ bool InputVST::init(Instruments &instruments)
mmap.midimap = p.midimap;
for(size_t i = 0; i < instruments.size(); i++) {
- mmap.instrmap[instruments[i].name()] = i;
+ mmap.instrmap[instruments[i]->name()] = i;
}
return true;