Skip to content

Commit 06d6b3a

Browse files
committed
hack: disable to convert from 0x005C to 0xF05C.
1 parent 14640c8 commit 06d6b3a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CPP/7zip/Archive/Common/ItemNameUtils.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ void ReplaceToOsSlashes_Remove_TailSlash(UString &name, bool
6666
if (c == L'/')
6767
c = WCHAR_PATH_SEPARATOR;
6868
else if (useBackslashReplacement && c == L'\\')
69-
c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT; // WSL scheme
69+
// hack by clown
70+
// c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT; // WSL scheme
71+
continue;
7072
else
7173
continue;
7274
name.ReplaceOneCharAtPos(i, c);
7375
}
7476
}
7577
#endif
76-
78+
7779
if (name.Back() == kOsPathSepar)
7880
name.DeleteBack();
7981
}

0 commit comments

Comments
 (0)