mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
@@ -321,13 +321,7 @@ namespace loot {
|
||||
continue;
|
||||
|
||||
vertex_t vertex, parentVertex;
|
||||
// Compare plugin basenames.
|
||||
string name1 = boost::locale::to_lower(graph[*vit].Name());
|
||||
name1 = name1.substr(0, name1.length() - 4);
|
||||
string name2 = boost::locale::to_lower(graph[*vit2].Name());
|
||||
name2 = name2.substr(0, name2.length() - 4);
|
||||
|
||||
if (name1 < name2) {
|
||||
if (boost::locale::to_lower(graph[*vit].Name()) < boost::locale::to_lower(graph[*vit2].Name())) {
|
||||
parentVertex = *vit;
|
||||
vertex = *vit2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user