aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/StringMapper.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-05 21:45:33 +0800
committercrupest <crupest@outlook.com>2022-03-05 21:45:33 +0800
commit7697f1ca3904301e551e7500089b30034e84eb32 (patch)
tree2f9e763d96df0679ea3582721f5a109750694d9b /src/ui/mapper/StringMapper.cpp
parent221f9cd7e453f2968c12a14a46588ea50ca2119d (diff)
downloadcru-7697f1ca3904301e551e7500089b30034e84eb32.tar.gz
cru-7697f1ca3904301e551e7500089b30034e84eb32.tar.bz2
cru-7697f1ca3904301e551e7500089b30034e84eb32.zip
...
Diffstat (limited to 'src/ui/mapper/StringMapper.cpp')
-rw-r--r--src/ui/mapper/StringMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mapper/StringMapper.cpp b/src/ui/mapper/StringMapper.cpp
index 9e73b7f1..89893ce1 100644
--- a/src/ui/mapper/StringMapper.cpp
+++ b/src/ui/mapper/StringMapper.cpp
@@ -9,7 +9,7 @@ StringMapper::~StringMapper() {}
String StringMapper::DoMapFromString(String str) { return std::move(str); }
String StringMapper::DoMapFromXml(xml::XmlElementNode* node) {
- auto value_attr = node->GetOptionalAttributeCaseInsensitive(u"value");
+ auto value_attr = node->GetOptionalAttributeValueCaseInsensitive(u"value");
if (value_attr) return *value_attr;
return {};
}