Just a small fix to be able to compile with --with-pspell.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1869 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2001-04-02 09:48:59 +00:00
parent 981b7d0242
commit 49b87a72c3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-04-02 Juergen Vigna <jug@sad.it>
* spellchecker.C: fixed namespace placing!
2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
* lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when

View File

@ -286,14 +286,14 @@ void SpellCheckerOptions()
}
}
namespace {
#ifndef USE_PSPELL
/***** Spellchecker *****/
// Could also use a clean up. (Asger Alstrup)
namespace {
void init_spell_checker(BufferParams const & params, string const & lang)
{
static char o_buf[BUFSIZ]; // jc: it could be smaller