summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-27 00:40:07 +0200
committerRobin Gareus <robin@gareus.org>2015-04-27 00:40:07 +0200
commit3f2306c4fbecf4ca321a6f32ce7cef8f8b2fc61c (patch)
tree46bc2fd570f3868c910974188ee182f6be32fce3 /libs/fst
parentc2f84af73d4812a7099ba1339ae92f2cd0536eae (diff)
Revert "case insensitive ".dll" for VST plugins - fixes #6285"
This reverts commit c2f84af73d4812a7099ba1339ae92f2cd0536eae. strcasestr() is not compatible with mingw nor MSVC. different approach is needed.
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/scanner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/fst/scanner.cc b/libs/fst/scanner.cc
index aac1eb5d2a..c7cbd897db 100644
--- a/libs/fst/scanner.cc
+++ b/libs/fst/scanner.cc
@@ -75,7 +75,7 @@ int main (int argc, char **argv) {
char *dllpath = NULL;
if (argc == 3 && !strcmp("-f", argv[1])) {
dllpath = argv[2];
- if (strstr (dllpath, ".so" ) || strcasestr(dllpath, ".dll")) {
+ if (strstr (dllpath, ".so" ) || strstr(dllpath, ".dll")) {
vstfx_remove_infofile(dllpath);
vstfx_un_blacklist(dllpath);
}
@@ -105,7 +105,7 @@ int main (int argc, char **argv) {
#endif
#ifdef WINDOWS_VST_SUPPORT
- else if (strcasestr (dllpath, ".dll")) {
+ else if (strstr (dllpath, ".dll")) {
infos = vstfx_get_info_fst(dllpath);
}
#endif