aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-08-20 02:38:21 +0000
committernyamatongwe <devnull@localhost>2001-08-20 02:38:21 +0000
commitb4aff87e0ba4734f97285d07dd9a8e80a7a53982 (patch)
tree37ec7045497daef225fff2207cc6a56afc16daee /src
parente95045fe65ebcd1b058068aea2ec87b73204eb0d (diff)
downloadscintilla-mirror-b4aff87e0ba4734f97285d07dd9a8e80a7a53982.tar.gz
Removed redundant expression.
Diffstat (limited to 'src')
-rw-r--r--src/Document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index f7465e886..10403242b 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -182,7 +182,7 @@ int Document::GetLastChild(int lineParent, int level) {
if (lineMaxSubord > lineParent) {
if (level > (GetLevel(lineMaxSubord + 1) & SC_FOLDLEVELNUMBERMASK)) {
// Have chewed up some whitespace that belongs to a parent so seek back
- if ((lineMaxSubord > lineParent) && (GetLevel(lineMaxSubord) & SC_FOLDLEVELWHITEFLAG)) {
+ if (GetLevel(lineMaxSubord) & SC_FOLDLEVELWHITEFLAG) {
lineMaxSubord--;
}
}