diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/Archive/DmgHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/7zip/Archive/DmgHandler.cpp b/CPP/7zip/Archive/DmgHandler.cpp index 3901192..9079dc7 100644 --- a/CPP/7zip/Archive/DmgHandler.cpp +++ b/CPP/7zip/Archive/DmgHandler.cpp | |||
@@ -444,7 +444,7 @@ const char *Find_Apple_FS_Ext(const AString &name) | |||
444 | { | 444 | { |
445 | const CAppleName &a = k_Names[i]; | 445 | const CAppleName &a = k_Names[i]; |
446 | if (a.Ext) | 446 | if (a.Ext) |
447 | if (name == a.AppleName) | 447 | if (name.IsEqualTo(a.AppleName)) |
448 | return a.Ext; | 448 | return a.Ext; |
449 | } | 449 | } |
450 | return NULL; | 450 | return NULL; |
@@ -784,7 +784,7 @@ static const CXmlItem *FindKeyPair(const CXmlItem &item, const char *key, const | |||
784 | for (unsigned i = 0; i + 1 < item.SubItems.Size(); i++) | 784 | for (unsigned i = 0; i + 1 < item.SubItems.Size(); i++) |
785 | { | 785 | { |
786 | const CXmlItem &si = item.SubItems[i]; | 786 | const CXmlItem &si = item.SubItems[i]; |
787 | if (si.IsTagged("key") && si.GetSubString() == key) | 787 | if (si.IsTagged("key") && si.GetSubString().IsEqualTo(key)) |
788 | { | 788 | { |
789 | const CXmlItem *si_1 = &item.SubItems[i + 1]; | 789 | const CXmlItem *si_1 = &item.SubItems[i + 1]; |
790 | if (si_1->IsTagged(nextTag)) | 790 | if (si_1->IsTagged(nextTag)) |
@@ -1251,7 +1251,7 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *openArchiveCall | |||
1251 | #endif | 1251 | #endif |
1252 | } | 1252 | } |
1253 | 1253 | ||
1254 | if (xml.Root.Name != "plist") | 1254 | if (!xml.Root.Name.IsEqualTo("plist")) |
1255 | return S_FALSE; | 1255 | return S_FALSE; |
1256 | 1256 | ||
1257 | const CXmlItem *dictItem = xml.Root.FindSubTag_GetPtr("dict"); | 1257 | const CXmlItem *dictItem = xml.Root.FindSubTag_GetPtr("dict"); |