summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-28 20:48:50 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-28 20:48:50 +1100
commitebc700ee17309a78731b8152d01260dc7ff32c95 (patch)
tree16d2322436f4e35b3671ad6b538545e445d2628b /src/input_handler.cc
parentfccb1bc3db6984b80f4349fc9d0e5bc535e0f588 (diff)
Fix uninitialized m_empty_text StringView in LineEditor
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 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