mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-02-01 10:24:11 -06:00
22.00
This commit is contained in:
Regular → Executable
+10
-1
@@ -34,10 +34,19 @@ static void ReplaceIncorrectChars(UString &s)
|
||||
||
|
||||
#endif
|
||||
c == WCHAR_PATH_SEPARATOR)
|
||||
{
|
||||
#if WCHAR_PATH_SEPARATOR != L'/'
|
||||
// 22.00 : WSL replacement for backslash
|
||||
if (c == WCHAR_PATH_SEPARATOR)
|
||||
c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT;
|
||||
else
|
||||
#endif
|
||||
c = '_';
|
||||
s.ReplaceOneCharAtPos(i,
|
||||
'_' // default
|
||||
c
|
||||
// (wchar_t)(0xf000 + c) // 21.02 debug: WSL encoding for unsupported characters
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user