Skip to content

Commit

Permalink
fix: remove invalid unicode after PACK_MAX_DICT in unrar code comment
Browse files Browse the repository at this point in the history
Fixes #56

msvc compliler (under some windows system) complains about "undefined identifier Flags" due to invalid chars,
for example, compile may failed under Windows 11 system which has locale for non-unicode app configured as Japenese or Koeran or Chinese
  • Loading branch information
ttys3 committed Sep 1, 2024
1 parent e9c3101 commit 0cddad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unrar_sys/vendor/unrar/cmddata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ void CommandData::ProcessSwitch(const wchar *Switch)
// 2023.07.22: For 4 GB and less we also check that it is power of 2,
// so archives are compatible with RAR 5.0+.
// We allow Size>PACK_MAX_DICT here, so we can use -md[x] to unpack
// archives created by future versions with higher PACK_MAX_DICTþ
// archives created by future versions with higher PACK_MAX_DICT
uint Flags;
if ((Size=Archive::GetWinSize(Size,Flags))==0 ||
Size<=0x100000000ULL && !IsPow2(Size))
Expand Down

0 comments on commit 0cddad0

Please sign in to comment.