mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
MACOSX: Fix flipped return value of openUrl
This commit is contained in:
parent
8575c9d59f
commit
2d3c86187f
@ -137,7 +137,7 @@ bool OSystem_MacOSX::openUrl(const Common::String &url) {
|
|||||||
CFURLRef urlRef = CFURLCreateWithBytes (NULL, (UInt8*)url.c_str(), url.size(), kCFStringEncodingASCII, NULL);
|
CFURLRef urlRef = CFURLCreateWithBytes (NULL, (UInt8*)url.c_str(), url.size(), kCFStringEncodingASCII, NULL);
|
||||||
OSStatus err = LSOpenCFURLRef(urlRef, NULL);
|
OSStatus err = LSOpenCFURLRef(urlRef, NULL);
|
||||||
CFRelease(urlRef);
|
CFRelease(urlRef);
|
||||||
return err != noErr;
|
return err == noErr;
|
||||||
}
|
}
|
||||||
|
|
||||||
Common::String OSystem_MacOSX::getSystemLanguage() const {
|
Common::String OSystem_MacOSX::getSystemLanguage() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user