mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Trim extracted plugin version strings.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user