aboutsummaryrefslogtreecommitdiff
path: root/src/colour.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/colour.cc')
-rw-r--r--src/colour.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colour.cc b/src/colour.cc
index c985971..d971d7e 100644
--- a/src/colour.cc
+++ b/src/colour.cc
@@ -51,7 +51,7 @@ use_xterm_titles()
static bool result(
(0 != paludis::getenv_with_default("TERM", "").compare(0, 4, "dumb")) &&
(0 != paludis::getenv_with_default("TERM", "").compare(0, 5, "linux")) &&
- (0 != paludis::getenv_with_default("PALUDIS_NO_XTERM_TITLES", "").length()));
+ (0 == paludis::getenv_with_default("PALUDIS_NO_XTERM_TITLES", "").length()));
return result;
}