[Scummvm-git-logs] scummvm master -> fb9587787403b3add2bef874b17a102eb5b40672
rvanlaar
roland at rolandvanlaar.nl
Sun Aug 22 20:56:41 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
fb95877874 DEVTOOLS: COMPANION: remove escape chars
Commit: fb9587787403b3add2bef874b17a102eb5b40672
https://github.com/scummvm/scummvm/commit/fb9587787403b3add2bef874b17a102eb5b40672
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2021-08-22T22:56:33+02:00
Commit Message:
DEVTOOLS: COMPANION: remove escape chars
It was decided on discord that we're only escaping chars that windows
absolutely can't handle.
These chars are now not escaped: ,;=
Changed paths:
devtools/dumper-companion.py
diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index 794a97ec37..c7832ba451 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -174,7 +174,7 @@ def escape_string(s: str) -> str:
for char in s:
if char == "\x81":
new_name += "\x81\x79"
- elif char in '/":*|\\?%<>,;=' or ord(char) < 0x20:
+ elif char in '/":*|\\?%<>' or ord(char) < 0x20:
new_name += "\x81" + chr(0x80 + ord(char))
else:
new_name += char
More information about the Scummvm-git-logs
mailing list