aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ViewStyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 9416ddcc6..ae68d8bff 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -513,8 +513,8 @@ bool ViewStyle::WhitespaceBackgroundDrawn() const {
}
bool ViewStyle::WhiteSpaceVisible(bool inIndent) const {
- return !inIndent && viewWhitespace == wsVisibleAfterIndent ||
- inIndent && viewWhitespace == wsVisibleOnlyInIndent ||
+ return (!inIndent && viewWhitespace == wsVisibleAfterIndent) ||
+ (inIndent && viewWhitespace == wsVisibleOnlyInIndent) ||
viewWhitespace == wsVisibleAlways;
}