Merge pull request #1457 from vieux/master

system_macosx.cpp: fix typo
fix-squashed-planets
Mateusz Przybył 2021-09-05 14:40:32 +02:00 committed by GitHub
commit 37f82acff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ bool CSystemUtilsMacOSX::OpenWebsite(const std::string& url)
int result = system(("open \"" + url + "\"").c_str()); // TODO: Test on macOS int result = system(("open \"" + url + "\"").c_str()); // TODO: Test on macOS
if (result != 0) if (result != 0)
{ {
GetLogger()->Error("Failed to open website: %s, error code: %i\n", website.c_str(), result); GetLogger()->Error("Failed to open url: %s, error code: %i\n", url.c_str(), result);
return false; return false;
} }
return true; return true;