summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/context.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 18:42:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 18:42:59 +0100
commit4aed930154638707e5e6cd37abfda2f8c369d444 (patch)
tree4bf800910eeba373dd57bebe438f1c8a598b8300 /opentrack-api/context.cpp
parent5eb570d1608e2071c0d01412925ac43768770624 (diff)
fix braino
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'opentrack-api/context.cpp')
-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());