diff --git a/docs/LOOT Metadata Syntax.html b/docs/LOOT Metadata Syntax.html index 5a2c07ba..52908f1f 100644 --- a/docs/LOOT Metadata Syntax.html +++ b/docs/LOOT Metadata Syntax.html @@ -451,7 +451,7 @@ nav: 0
aftername value, B's copy is skipped.
reqname value, B's copy is skipped.
incname value, B's copy is skipped.
- msgmsgtagname value, B's copy is skipped, unless one is suggesting the tag for addition and the other is suggesting it for removal, in which case both entries are kept.
urldirtycrc value, B's copy is skipped.
diff --git a/src/backend/metadata/message.cpp b/src/backend/metadata/message.cpp
index b18fadab..f958d6d7 100644
--- a/src/backend/metadata/message.cpp
+++ b/src/backend/metadata/message.cpp
@@ -46,7 +46,7 @@ namespace loot {
bool Message::operator < (const Message& rhs) const {
if (!_content.empty() && !rhs.Content().empty())
- return boost::ilexicographical_compare(_content.front().Str(), rhs.Content().front().Str());
+ return boost::ilexicographical_compare(ChooseContent(Language::english).Str(), rhs.ChooseContent(Language::english).Str());
else if (_content.empty() && !rhs.Content().empty())
return true;
else
@@ -115,4 +115,4 @@ namespace YAML {
return out;
}
-}
\ No newline at end of file
+}