diff options
author | Colin Snover | 2017-05-21 19:26:01 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-21 19:37:14 -0500 |
commit | 2d3c86187f5efbb096c566cb223ce4e9726aa5b2 (patch) | |
tree | b9cd4ab4047b229e8ea71824e263709b8759594c | |
parent | 8575c9d59fd27a8fce82c2b1a40812feeb42b848 (diff) | |
download | scummvm-rg350-2d3c86187f5efbb096c566cb223ce4e9726aa5b2.tar.gz scummvm-rg350-2d3c86187f5efbb096c566cb223ce4e9726aa5b2.tar.bz2 scummvm-rg350-2d3c86187f5efbb096c566cb223ce4e9726aa5b2.zip |
MACOSX: Fix flipped return value of openUrl
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index 8669bf6a66..7e6ef9588e 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -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 { |