diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-27 15:56:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-27 16:03:25 +0300 |
commit | 48942a35fdd7c1b1e7f5ab7833c74196a0f6c942 (patch) | |
tree | a44f867353a5e6d6ac7a251ed8b341b0846dc233 | |
parent | d1e01a763d76a241943a21993adba4e6492426dd (diff) | |
download | mv-48942a35fdd7c1b1e7f5ab7833c74196a0f6c942.tar.gz mv-48942a35fdd7c1b1e7f5ab7833c74196a0f6c942.tar.bz2 mv-48942a35fdd7c1b1e7f5ab7833c74196a0f6c942.tar.xz mv-48942a35fdd7c1b1e7f5ab7833c74196a0f6c942.zip |
Fix crash in help window links.
-rw-r--r-- | src/gui/windows/helpwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index cd6e37941..1cfb30e2b 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -111,7 +111,8 @@ void HelpWindow::handleLink(const std::string &link, { if (!strStartWith(link, "http://") && !strStartWith(link, "https://")) { - const std::string &helpFile = link; + // need use separate variable + const std::string helpFile = link; loadHelp(helpFile); } else |