DIRECTOR: Fixed extension replacement is makePathRelative()

This commit is contained in:
Eugene Sandulenko 2022-03-17 00:37:25 +01:00
parent 0a40fdd40f
commit 44d5722d0c
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -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;