diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-03-28 20:48:50 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-03-28 20:48:50 +1100 |
| commit | ebc700ee17309a78731b8152d01260dc7ff32c95 (patch) | |
| tree | 16d2322436f4e35b3671ad6b538545e445d2628b /src/input_handler.cc | |
| parent | fccb1bc3db6984b80f4349fc9d0e5bc535e0f588 (diff) | |
Fix uninitialized m_empty_text StringView in LineEditor
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
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 |
