diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2025-07-05 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2025-07-05 19:27:33 +0500 |
| commit | 395149956d696e6e3099d8b76d797437f94a6942 (patch) | |
| tree | 6ed5013a637078ae2dfdc4acf1ad93bf29cea356 /CPP/Common/MyXml.cpp | |
| parent | e5431fa6f5505e385c6f9367260717e9c47dc2ee (diff) | |
| download | 7zip-25.00.tar.gz 7zip-25.00.tar.bz2 7zip-25.00.zip | |
25.0025.00
Diffstat (limited to 'CPP/Common/MyXml.cpp')
| -rw-r--r-- | CPP/Common/MyXml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/Common/MyXml.cpp b/CPP/Common/MyXml.cpp index cc891fc..8364aae 100644 --- a/CPP/Common/MyXml.cpp +++ b/CPP/Common/MyXml.cpp | |||
| @@ -24,7 +24,7 @@ static bool IsSpaceChar(char c) | |||
| 24 | int CXmlItem::FindProp(const char *propName) const throw() | 24 | int CXmlItem::FindProp(const char *propName) const throw() |
| 25 | { | 25 | { |
| 26 | FOR_VECTOR (i, Props) | 26 | FOR_VECTOR (i, Props) |
| 27 | if (Props[i].Name == propName) | 27 | if (Props[i].Name.IsEqualTo(propName)) |
| 28 | return (int)i; | 28 | return (int)i; |
| 29 | return -1; | 29 | return -1; |
| 30 | } | 30 | } |
| @@ -39,7 +39,7 @@ AString CXmlItem::GetPropVal(const char *propName) const | |||
| 39 | 39 | ||
| 40 | bool CXmlItem::IsTagged(const char *tag) const throw() | 40 | bool CXmlItem::IsTagged(const char *tag) const throw() |
| 41 | { | 41 | { |
| 42 | return (IsTag && Name == tag); | 42 | return (IsTag && Name.IsEqualTo(tag)); |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | int CXmlItem::FindSubTag(const char *tag) const throw() | 45 | int CXmlItem::FindSubTag(const char *tag) const throw() |
