mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Remove hardcoded urls
This commit is contained in:
parent
c0b5876e45
commit
6c0125086c
1 changed files with 6 additions and 14 deletions
|
@ -49,19 +49,11 @@ void browseFAQ(NLMISC::CConfigFile &cf)
|
||||||
}
|
}
|
||||||
if (url.empty())
|
if (url.empty())
|
||||||
{
|
{
|
||||||
// not found ? rely on hardcoded stuff
|
// not found
|
||||||
if (nlstricmp(languageCode, "fr") == 0)
|
nlwarning("No FAQ url");
|
||||||
{
|
|
||||||
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
|
else
|
||||||
{
|
{
|
||||||
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
openURL(url.c_str());
|
openURL(url.c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue