Skip to content

Commit

Permalink
hack: disable to convert from 0x005C to 0xF05C.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Jan 14, 2022
1 parent 14640c8 commit 06d6b3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CPP/7zip/Archive/Common/ItemNameUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,16 @@ void ReplaceToOsSlashes_Remove_TailSlash(UString &name, bool
if (c == L'/')
c = WCHAR_PATH_SEPARATOR;
else if (useBackslashReplacement && c == L'\\')
c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT; // WSL scheme
// hack by clown
// c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT; // WSL scheme
continue;
else
continue;
name.ReplaceOneCharAtPos(i, c);
}
}
#endif

if (name.Back() == kOsPathSepar)
name.DeleteBack();
}
Expand Down

0 comments on commit 06d6b3a

Please sign in to comment.