summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-11-21 17:21:21 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-11-21 17:21:21 +0000
commit7cf7f121e8def74e6b76c6bfbeda015ddbda315b (patch)
tree67983b77b6d4cb12ee5b14e983a5ef283feda572 /src/input_handler.cc
parentb0d696d994da8c51797d462c063170092833b238 (diff)
Fix onkey autoinfo
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 353ced8a..e570c2b3 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1416,7 +1416,7 @@ DisplayLine InputHandler::mode_line() const
bool show_auto_info_ifn(StringView title, StringView info, AutoInfo mask, const Context& context)
{
- if ((context.options()["autoinfo"].get<AutoInfo>() & mask) or
+ if (not (context.options()["autoinfo"].get<AutoInfo>() & mask) or
not context.has_ui())
return false;