mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed untrimmed spaces in Bash Tag extraction.
This was leading to the Filter tag being unrecognised if it was first in the list of Tags, and so having missing master error messages being erroneously generated.
This commit is contained in:
@@ -362,6 +362,8 @@ namespace boss {
|
||||
boost::split(bashTags, text, boost::is_any_of(","));
|
||||
|
||||
for (int i=0,max=bashTags.size(); i<max; ++i) {
|
||||
boost::trim(bashTags[i]);
|
||||
BOOST_LOG_TRIVIAL(trace) << "Extracted Bash Tag: " << bashTags[i];
|
||||
tags.insert(Tag(bashTags[i]));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user