summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-api')
-rw-r--r--opentrack-api/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-api/context.cpp b/opentrack-api/context.cpp
index 003377ce..9b8aa718 100644
--- a/opentrack-api/context.cpp
+++ b/opentrack-api/context.cpp
@@ -45,7 +45,7 @@ static QList<opentrack_meta> list_files(QDir& dir, QString filter)
continue;
}
QString prefix(LIB_PREFIX + filter);
- QString suffix("*." SONAME);
+ QString suffix("." SONAME);
if (str.size() > prefix.size() + suffix.size() && str.startsWith(prefix) && str.endsWith(suffix))
{
auto str2 = str.mid(prefix.size(), str.size() - prefix.size() - suffix.size());