MACOSX: Fix flipped return value of openUrl

This commit is contained in:
Colin Snover 2017-05-21 19:26:01 -05:00
parent 8575c9d59f
commit 2d3c86187f

View File

@ -137,7 +137,7 @@ bool OSystem_MacOSX::openUrl(const Common::String &url) {
CFURLRef urlRef = CFURLCreateWithBytes (NULL, (UInt8*)url.c_str(), url.size(), kCFStringEncodingASCII, NULL);
OSStatus err = LSOpenCFURLRef(urlRef, NULL);
CFRelease(urlRef);
return err != noErr;
return err == noErr;
}
Common::String OSystem_MacOSX::getSystemLanguage() const {