aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-08-20 02:38:21 +0000
committernyamatongwe <unknown>2001-08-20 02:38:21 +0000
commitb4c7951f32f3ac40193269815d4acf5473b7aaeb (patch)
tree37ec7045497daef225fff2207cc6a56afc16daee
parentbb8aafa3d98e49fb66d79cd2c37d2c46a26b451a (diff)
downloadscintilla-mirror-b4c7951f32f3ac40193269815d4acf5473b7aaeb.tar.gz
Removed redundant expression.
-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--;
}
}