[Scummvm-git-logs] scummvm master -> 8892902c8f7cfcea03b8fce632c9081e57060a32
sev-
sev at scummvm.org
Fri Aug 6 11:29:45 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:
8892902c8f DEVTOOLS: COMPANION: Keep the original filename encoding in MacBinary
Commit: 8892902c8f7cfcea03b8fce632c9081e57060a32
https://github.com/scummvm/scummvm/commit/8892902c8f7cfcea03b8fce632c9081e57060a32
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-08-06T13:29:06+02:00
Commit Message:
DEVTOOLS: COMPANION: Keep the original filename encoding in MacBinary
Changed paths:
devtools/dumper-companion.py
diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index cce521e4c1..6ee5a42e6e 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -14,7 +14,6 @@ import machfs
def file_to_macbin(f: machfs.File, name:str, encoding:str ) -> bytes:
- name = name.encode("mac_roman").decode(encoding)
oldFlags = f.flags >> 8
newFlags = f.flags & 8
macbin = pack(
@@ -119,4 +118,4 @@ def test_decode_name():
def test_escape_string():
checks = [["\r", "\x80\x8d"]]
for input, expected in checks:
- assert escape_string(input) == expected
\ No newline at end of file
+ assert escape_string(input) == expected
More information about the Scummvm-git-logs
mailing list