Opened 2 years ago
Closed 2 years ago
#13884 closed defect (fixed)
GUI: Fatal "Wrong string format (M)" error when exploring an HFS CD
Reported by: | dwatteau | Owned by: | phcoder |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
When using gui_browser_native=false
, exploring some original HFS CDs (such as my Macintosh version of Indiana Jones and the Fate of Atlantis) makes ScummVM abort with a "Wrong string format (M)" error.
Old HFS CDs often embed files with unusual characters, but gui/widgets/list.cpp
doesn't like this.
To reproduce this:
- Make sure your preferences file has
gui_browser_native=false
- Create the following directory with this shell command (matching what's causing the issue on my original LucasArts CD):
mkdir -- "$(printf '\03\02\01Move&Rename')
- Use the "Add" button and navigate to the path containing this directory
This happens both on HEAD and on today's branch-2-6
.
Change History (1)
comment:1 by , 2 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed by https://github.com/scummvm/scummvm/pull/4403#event-7748016249