Context: fix unintialized m_input_handler

This commit is contained in:
Maxime Coste 2013-01-29 19:13:36 +01:00
parent 252f875926
commit 8933109cc5

View File

@ -167,7 +167,7 @@ struct Context
int& numeric_param() { return m_numeric_param; } int& numeric_param() { return m_numeric_param; }
private: private:
safe_ptr<Editor> m_editor; safe_ptr<Editor> m_editor;
InputHandler* m_input_handler; InputHandler* m_input_handler = nullptr;
safe_ptr<UserInterface> m_ui; safe_ptr<UserInterface> m_ui;
Insertion m_last_insert = {InsertMode::Insert, {}}; Insertion m_last_insert = {InsertMode::Insert, {}};