Shot in the dark for #6646 crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-04-12 15:16:03 +00:00
parent 51fce57c78
commit 0ff254954a

View File

@ -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)
{}