Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36242 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-11-10 20:06:21 +00:00
parent 4f07c52a7d
commit 98f07840fc

View File

@ -27,7 +27,7 @@ namespace lyx {
*/ */
class WordLangTuple { class WordLangTuple {
public: public:
WordLangTuple() {} WordLangTuple() : lang_(0) {}
WordLangTuple(docstring const & w, Language * l) WordLangTuple(docstring const & w, Language * l)
: word_(w), lang_(l) : word_(w), lang_(l)