From 9190d81e76b9539065bf4fa029a012ec3708e13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 19 Aug 2003 08:30:32 +0000 Subject: [PATCH] initialize button_ member to sane state git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7571 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/funcrequest.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/funcrequest.C b/src/funcrequest.C index e61eff285d..60ba5b588b 100644 --- a/src/funcrequest.C +++ b/src/funcrequest.C @@ -22,17 +22,17 @@ using std::endl; FuncRequest::FuncRequest() - : view_(0), action(LFUN_UNKNOWN_ACTION) + : view_(0), action(LFUN_UNKNOWN_ACTION), button_(mouse_button::none) {} FuncRequest::FuncRequest(kb_action act) - : view_(0), action(act) + : view_(0), action(act), button_(mouse_button::none) {} FuncRequest::FuncRequest(kb_action act, string const & arg) - : view_(0), action(act), argument(arg) + : view_(0), action(act), argument(arg), button_(mouse_button::none) {} @@ -43,12 +43,12 @@ FuncRequest::FuncRequest FuncRequest::FuncRequest(BufferView * view, kb_action act) - : view_(view), action(act) + : view_(view), action(act), button_(mouse_button::none) {} FuncRequest::FuncRequest(BufferView * view, kb_action act, string const & arg) - : view_(view), action(act), argument(arg) + : view_(view), action(act), argument(arg), button_(mouse_button::none) {}