mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
DIRECTOR: Fixed extension replacement is makePathRelative()
This commit is contained in:
parent
0a40fdd40f
commit
44d5722d0c
@ -737,6 +737,10 @@ Common::String convertMacFilename(const char *name) {
|
||||
|
||||
cnt++;
|
||||
}
|
||||
|
||||
// If the result filename ends with '.', remove it
|
||||
if (res.hasSuffix("."))
|
||||
res = res.substr(0, res.size() - 1);
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user