Fix onkey autoinfo

This commit is contained in:
Maxime Coste 2015-11-21 17:21:21 +00:00
parent b0d696d994
commit 7cf7f121e8

View File

@ -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;