From ebc700ee17309a78731b8152d01260dc7ff32c95 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 28 Mar 2018 20:48:50 +1100 Subject: [PATCH] Fix uninitialized m_empty_text StringView in LineEditor --- 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 8592e94d..7f7a26ba 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -543,7 +543,7 @@ private: CharCount m_display_pos = 0; String m_line; - StringView m_empty_text; + StringView m_empty_text = {}; }; class Menu : public InputMode