From: Vincent van Ravesteijn Date: Wed, 10 Nov 2010 20:06:21 +0000 (+0000) Subject: Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. X-Git-Tag: 2.0.0~1890 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=98f07840fc600344e3955e5f0b921ad643b0f0de;p=features.git 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 --- diff --git a/src/WordLangTuple.h b/src/WordLangTuple.h index 51a72bf310..0e3391e296 100644 --- a/src/WordLangTuple.h +++ b/src/WordLangTuple.h @@ -27,7 +27,7 @@ namespace lyx { */ class WordLangTuple { public: - WordLangTuple() {} + WordLangTuple() : lang_(0) {} WordLangTuple(docstring const & w, Language * l) : word_(w), lang_(l)