From 56c0d2de95a7662820f07f6a55cd7e5283f9aabe Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 18 Nov 2013 21:45:42 +0000 Subject: [PATCH] Fix insert completion --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_handler.cc b/src/input_handler.cc index 864ebe51..ac0f188d 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -821,7 +821,7 @@ private: void menu_show() { - if (m_context.has_ui()) + if (not m_context.has_ui()) return; DisplayCoord menu_pos = m_context.window().display_position(m_completions.begin); m_context.ui().menu_show(m_matching_candidates, menu_pos,