From 90132a83c309b5ae0c699e4fbbb7c62656321301 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jun 2017 21:29:47 +0300 Subject: Fix code style. --- src/gui/widgets/browserbox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/widgets/browserbox.cpp') 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); -- cgit v1.2.3-60-g2f50