From 0ff254954ae681bd20208cf95232bb1c4153e0b8 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 12 Apr 2010 15:16:03 +0000 Subject: [PATCH] Shot in the dark for #6646 crash. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34120 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/FuncRequest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/FuncRequest.cpp b/src/FuncRequest.cpp index 03ff0c8338..c9761609e9 100644 --- a/src/FuncRequest.cpp +++ b/src/FuncRequest.cpp @@ -29,13 +29,14 @@ FuncRequest const FuncRequest::unknown(LFUN_UNKNOWN_ACTION); FuncRequest const FuncRequest::noaction(LFUN_NOACTION); FuncRequest::FuncRequest(Origin o) - : action_(LFUN_NOACTION), origin_(o), x_(0), y_(0), + : argument_(0), action_(LFUN_NOACTION), origin_(o), x_(0), y_(0), button_(mouse_button::none) {} FuncRequest::FuncRequest(FuncCode act, Origin o) - : action_(act), origin_(o), x_(0), y_(0), button_(mouse_button::none) + : argument_(0), action_(act), origin_(o), x_(0), y_(0), + button_(mouse_button::none) {} @@ -53,7 +54,7 @@ FuncRequest::FuncRequest(FuncCode act, string const & arg, Origin o) FuncRequest::FuncRequest(FuncCode act, int ax, int ay, mouse_button::state but, Origin o) - : action_(act), origin_(o), x_(ax), y_(ay), button_(but) + : argument_(0), action_(act), origin_(o), x_(ax), y_(ay), button_(but) {}