system_macosx.cpp: fix typo

fix-squashed-planets
Victor Vieux 2021-08-23 16:20:33 -07:00
parent c039e7e859
commit 11047ecd53
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;