From 04528999c8f1ccb34d990f60affa95a99c9a0836 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 12 Sep 2014 11:19:33 +0200 Subject: [PATCH] Backed out changeset: cd8e80e4b0d6 --HG-- branch : compatibility --- code/ryzom/client/src/browse_faq.cpp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/code/ryzom/client/src/browse_faq.cpp b/code/ryzom/client/src/browse_faq.cpp index 8311087eb..9f8fcd9b0 100644 --- a/code/ryzom/client/src/browse_faq.cpp +++ b/code/ryzom/client/src/browse_faq.cpp @@ -49,11 +49,19 @@ void browseFAQ(NLMISC::CConfigFile &cf) } if (url.empty()) { - // not found - nlwarning("No FAQ url"); - } - else - { - openURL(url.c_str()); + // 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 + { + url = "http://forums.ryzom.com/forum/showthread.php?t=29129"; + } } + openURL(url.c_str()); }