Trim extracted plugin version strings.

This commit is contained in:
Oliver Hamlet
2014-12-14 13:56:50 +00:00
parent 75868f8b0b
commit 5113d4abfa
+1
View File
@@ -417,6 +417,7 @@ namespace loot {
if (regex_search(text, what, version_checks[i])) {
//Use the first sub-expression match.
version = string(what[1].first, what[1].second);
boost::trim(version);
break;
}
}