From 45fb738e8af97d309f3081e89774a00adcd5e13d Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:48:07 +0100 Subject: [PATCH] Fixed: Wrong comparison --- 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