summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-21 00:33:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-21 00:33:29 +0300
commitad465929229a928d418c68b7786c18f95f170eba (patch)
treeffc9fe3337948eaa871e00225830dd7a9a0631c8 /src/gui/widgets/browserbox.cpp
parent37deb731372da40bb9ce5bc4b8d8e19bfc750163 (diff)
downloadplus-ad465929229a928d418c68b7786c18f95f170eba.tar.gz
plus-ad465929229a928d418c68b7786c18f95f170eba.tar.bz2
plus-ad465929229a928d418c68b7786c18f95f170eba.tar.xz
plus-ad465929229a928d418c68b7786c18f95f170eba.zip
Fix some incorrect chars in browserbox links.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index ddd21f5dd..51b977bbc 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -306,7 +306,8 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
void BrowserBox::addRow(const std::string &cmd, const char *const text)
{
- addRow(strprintf("@@%s|%s@@", cmd.c_str(), text));
+ addRow(strprintf("@@%s|%s@@", encodeLinkText(cmd).c_str(),
+ encodeLinkText(text).c_str()));
}
void BrowserBox::addImage(const std::string &path)