diff options
author | crupest <crupest@outlook.com> | 2022-03-05 21:45:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-05 21:45:33 +0800 |
commit | 7697f1ca3904301e551e7500089b30034e84eb32 (patch) | |
tree | 2f9e763d96df0679ea3582721f5a109750694d9b /src/ui/ThemeResourceDictionary.cpp | |
parent | 221f9cd7e453f2968c12a14a46588ea50ca2119d (diff) | |
download | cru-7697f1ca3904301e551e7500089b30034e84eb32.tar.gz cru-7697f1ca3904301e551e7500089b30034e84eb32.tar.bz2 cru-7697f1ca3904301e551e7500089b30034e84eb32.zip |
...
Diffstat (limited to 'src/ui/ThemeResourceDictionary.cpp')
-rw-r--r-- | src/ui/ThemeResourceDictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ThemeResourceDictionary.cpp b/src/ui/ThemeResourceDictionary.cpp index 97b4a74a..6720626e 100644 --- a/src/ui/ThemeResourceDictionary.cpp +++ b/src/ui/ThemeResourceDictionary.cpp @@ -32,7 +32,7 @@ void ThemeResourceDictionary::UpdateResourceMap(xml::XmlElementNode* xml_root) { if (child->IsElementNode()) { auto c = child->AsElement(); if (c->GetTag().CaseInsensitiveEqual(u"Resource")) { - auto key_attr = c->GetOptionalAttributeCaseInsensitive(u"key"); + auto key_attr = c->GetOptionalAttributeValueCaseInsensitive(u"key"); if (!key_attr) { throw Exception(u"'key' attribute is required for resource."); } |