]> git.lyx.org Git - lyx.git/blobdiff - src/sp_pspell.h
bug 183
[lyx.git] / src / sp_pspell.h
index 0833c8945e3fab3791b306e4e966c900c4e0e61a..7c682bbc64f168c8dfb87a5d884398bccaaf5d57 100644 (file)
@@ -23,7 +23,7 @@ class PSpell : public SpellBase
     /// initialize spell checker
     void initialize(BufferParams const & params, string const & lang);
 
-    bool alive() { return true; }
+    bool alive() { return alive_; }
 
     /// clean up after error
     void cleanUp();
@@ -58,7 +58,8 @@ class PSpell : public SpellBase
     spellStatus flag;
 
     const char * error_;
-   
+
+    bool alive_;
 };
    
 #endif