summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
commit90132a83c309b5ae0c699e4fbbb7c62656321301 (patch)
tree9bd6bbac6df7cfcd67d30535d30ef1b8bd25ab3f /src/gui/widgets/browserbox.cpp
parent9c1e1e3c8af21342da1bdf616a800ff373cad433 (diff)
downloadplus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.gz
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.bz2
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.xz
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 592283910..fc8406546 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -168,7 +168,6 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
{
std::string tmp = row;
std::string newRow;
- size_t idx1;
const Font *const font = getFont();
int linksCount = 0;
@@ -193,7 +192,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
BrowserBoxTools::replaceKeys(tmp);
}
- idx1 = tmp.find("@@");
+ size_t idx1 = tmp.find("@@");
while (idx1 != std::string::npos)
{
const size_t idx2 = tmp.find('|', idx1);