mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
DIRECTOR: LINGO: Remove .xlib from xlib name
This commit is contained in:
parent
5ee2cb94cd
commit
d45f4ade4c
@ -168,6 +168,8 @@ Common::String Lingo::normalizeXLibName(Common::String name) {
|
||||
if (platform == Common::kPlatformMacintosh) {
|
||||
int pos = name.findLastOf(':');
|
||||
name = name.substr(pos + 1, name.size());
|
||||
if (name.hasSuffixIgnoreCase(".xlib"))
|
||||
name = name.substr(0, name.size() - 5);
|
||||
} else if (platform == Common::kPlatformWindows) {
|
||||
if (name.hasSuffixIgnoreCase(".dll"))
|
||||
name = name.substr(0, name.size() - 4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user