From 671610b101948a3090af7a47c4d1d0c5e65f6185 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 5 Dec 2016 09:03:13 +0100 Subject: [PATCH] Fixed: Compilation under Linux --- code/nel/src/misc/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";