From 1324d8e99c6fa3fa11db1a90fb0b9fc23c490247 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 22 Jul 2012 18:00:47 +0300 Subject: [PATCH] Fix recognition of versioned msp package directories --- source/packagemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/packagemanager.cpp b/source/packagemanager.cpp index 86047bf..19b15a4 100644 --- a/source/packagemanager.cpp +++ b/source/packagemanager.cpp @@ -171,7 +171,7 @@ FS::Path PackageManager::get_package_location(const string &name) if(!base.compare(0, dash, name)) return *i; - else if(msp && !base.compare(0, dash-3, name, 3, string::npos)) + else if(msp && !base.compare(0, dash, name, 3, string::npos)) return *i; } -- 2.45.2