summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-28 00:00:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-28 00:00:26 +0300
commit81517373aa2eed68fc9901c7c71f22a18040cd51 (patch)
tree44228d7cf59a07cc209c607b1492c3dd305e9d43 /src/gui/widgets/browserbox.cpp
parentec0216cdd13aa89aba5da22bad3ef723fa27f6fb (diff)
downloadplus-81517373aa2eed68fc9901c7c71f22a18040cd51.tar.gz
plus-81517373aa2eed68fc9901c7c71f22a18040cd51.tar.bz2
plus-81517373aa2eed68fc9901c7c71f22a18040cd51.tar.xz
plus-81517373aa2eed68fc9901c7c71f22a18040cd51.zip
Fix code style. Remove some useless checks.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index be3f006f6..0c35b63d4 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -621,11 +621,6 @@ int BrowserBox::calcHeight()
// "Tokenize" the string at control sequences
if (mUseLinksAndUserColors)
idx1 = row.find("##", start + 1);
- if (idx1 < idx2)
- end = idx1;
- else
- end = idx2;
-
if (start == 0 || mUseLinksAndUserColors)
{
// Check for color change in format "##x", x = [L,P,0..9]