summaryrefslogtreecommitdiff
path: root/src/gui/helpwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-10 03:06:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 03:07:44 +0300
commit5c50beef4fca106a843e9370ed40e5ef9d60bac3 (patch)
tree46c74d648832114944dfb183d1a52d84baaca85c /src/gui/helpwindow.cpp
parent0f67a984182336dac85b15e55cbe3bb11c29424a (diff)
downloadmanaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.gz
manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.bz2
manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.xz
manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.zip
Add https support to link handlers.
Diffstat (limited to 'src/gui/helpwindow.cpp')
-rw-r--r--src/gui/helpwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp
index d93472211..c035b2a24 100644
--- a/src/gui/helpwindow.cpp
+++ b/src/gui/helpwindow.cpp
@@ -88,7 +88,7 @@ void HelpWindow::action(const gcn::ActionEvent &event)
void HelpWindow::handleLink(const std::string &link,
gcn::MouseEvent *event A_UNUSED)
{
- if (!strStartWith(link, "http://"))
+ if (!strStartWith(link, "http://") && !strStartWith(link, "https://"))
{
std::string helpFile = link;
loadHelp(helpFile);