diff --git a/code/nel/src/misc/common.cpp b/code/nel/src/misc/common.cpp index f455f121f..ca116d0f8 100644 --- a/code/nel/src/misc/common.cpp +++ b/code/nel/src/misc/common.cpp @@ -1518,7 +1518,7 @@ static bool openDocWithExtension (const std::string &document, const std::string if (!CFile::fileExists(command)) { - if (strcmp(ext, "htm") == 0) + if (ext == "htm") { command = "/etc/alternatives/x-www-browser";