summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-03-08 17:24:42 +0100
committerRobin Gareus <robin@gareus.org>2014-03-08 17:24:42 +0100
commitcf1363a4a9376dad356042d2fd08fa34853db840 (patch)
treee1f59ec53f993fcd48baea34cc104fc52f069a94 /libs/ardour/vst_info_file.cc
parent944c32346b3c6bb87fccb22f159bdd9297bae50d (diff)
VST scanner: fix Ardour type IDs
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index e6350c0a41..ec1223c11c 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -702,10 +702,10 @@ vstfx_info_from_plugin (const char *dllpath, VSTState* vstfx, vector<VSTInfo *>
switch(type) {
#ifdef WINDOWS_VST_SUPPORT
- case 1: fst_close(vstfx); break;
+ case ARDOUR::Windows_VST: fst_close(vstfx); break;
#endif
#ifdef LXVST_SUPPORT
- case 2: vstfx_close (vstfx); break;
+ case ARDOUR::LXVST: vstfx_close (vstfx); break;
#endif
default: assert(0); break;
}