mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-01-31 20:24:05 -06:00
4.40 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
3415684502
commit
bd9a40b0ed
@@ -460,19 +460,3 @@ void CCensor::ExtendExclude()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bool AreTheFileNamesDirDelimiterEqual(const UString &name1, const UString &name2)
|
||||
{
|
||||
if(name1.Length() != name2.Length())
|
||||
return false;
|
||||
for(int i = 0; i < name1.Length(); i++)
|
||||
{
|
||||
wchar_t char1 = name1[i], char2 = name2[i];
|
||||
if (char1 == char2)
|
||||
continue;
|
||||
if (IsCharDirLimiter(char1) && IsCharDirLimiter(char2))
|
||||
continue;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user