mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed bug in message language selection in metadata editor
This commit is contained in:
+3
-3
@@ -935,11 +935,11 @@ boss::Message MessageEditDialog::GetMessage() const {
|
||||
for (size_t i=0, max=_content->GetItemCount(); i < max; ++i) {
|
||||
|
||||
string str = string(_content->GetItemText(i, 1).ToUTF8());
|
||||
unsigned int lang = GetLangNum(_content->GetItemText(i, 0));
|
||||
|
||||
unsigned int lang = GetLangIndex(_content->GetItemText(i, 0));
|
||||
|
||||
contents.push_back(boss::MessageContent(str, lang));
|
||||
}
|
||||
|
||||
|
||||
return boss::Message(type, contents, condition);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user