From 81517373aa2eed68fc9901c7c71f22a18040cd51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Jan 2017 00:00:26 +0300 Subject: Fix code style. Remove some useless checks. --- src/gui/widgets/browserbox.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gui/widgets/browserbox.cpp') 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] -- cgit v1.2.3-60-g2f50