From 7875a103b76e457474c444f7a19e39a572ef2147 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 16 Oct 2006 19:52:44 +0000 Subject: initialize m_state --- src/AttentionNoticeHandler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AttentionNoticeHandler.cc b/src/AttentionNoticeHandler.cc index e2881af..a80934a 100644 --- a/src/AttentionNoticeHandler.cc +++ b/src/AttentionNoticeHandler.cc @@ -35,7 +35,8 @@ namespace { class ToggleFrameFocusCmd: public FbTk::Command { public: ToggleFrameFocusCmd(WinClient &client): - m_client(client) {} + m_client(client), + m_state(false) {} void execute() { m_state ^= true; m_client.fbwindow()->setLabelButtonFocus(m_client, m_state); -- cgit v0.11.2