]> git.lyx.org Git - features.git/commitdiff
Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 10 Nov 2010 20:06:21 +0000 (20:06 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 10 Nov 2010 20:06:21 +0000 (20:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36242 a592a061-630c-0410-9148-cb99ea01b6c8

src/WordLangTuple.h

index 51a72bf310620881dcd5fceef6e698af291c334b..0e3391e296816aba82f515d48c3256a42af382a9 100644 (file)
@@ -27,7 +27,7 @@ namespace lyx {
  */
 class WordLangTuple {
 public:
-       WordLangTuple() {}
+       WordLangTuple() : lang_(0) {}
 
        WordLangTuple(docstring const & w, Language * l)
                : word_(w), lang_(l)