From a1c89b0d7b6d1c08b79c2825b968193b18abd69f Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:48:07 +0100 Subject: [PATCH] Fixed: Wrong comparison --HG-- branch : compatibility-develop --- code/ryzom/client/src/login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/login.cpp b/code/ryzom/client/src/login.cpp index 16cf5d17a..4d56a67a7 100644 --- a/code/ryzom/client/src/login.cpp +++ b/code/ryzom/client/src/login.cpp @@ -1919,7 +1919,7 @@ class CAHOpenURL : public IActionHandler if (pos_lang != string::npos) pos_lang = url.find("=en#"); - if (pos_lang != string::npos) + if (pos_lang == string::npos) url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode()); // append language