Backed out changeset: cd8e80e4b0d6

--HG--
branch : compatibility
This commit is contained in:
kaetemi 2014-09-12 11:19:33 +02:00
parent b698c10475
commit 04528999c8

View file

@ -49,11 +49,19 @@ void browseFAQ(NLMISC::CConfigFile &cf)
}
if (url.empty())
{
// not found
nlwarning("No FAQ url");
// not found ? rely on hardcoded stuff
if (nlstricmp(languageCode, "fr") == 0)
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29130";
}
else if (nlstricmp(languageCode, "de") == 0)
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29131";
}
else
{
openURL(url.c_str());
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
}
}
openURL(url.c_str());
}