From: Jürgen Vigna Date: Mon, 2 Apr 2001 09:48:59 +0000 (+0000) Subject: Just a small fix to be able to compile with --with-pspell. X-Git-Tag: 1.6.10~21359 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=49b87a72c3c9319611de90bc81ad55ff1f81d09e;p=features.git 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 --- diff --git a/src/ChangeLog b/src/ChangeLog index 4268394534..39c1f51212 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-04-02 Juergen Vigna + + * spellchecker.C: fixed namespace placing! + 2001-03-30 Angus Leeming * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when diff --git a/src/spellchecker.C b/src/spellchecker.C index 58fefb6b41..609aa93502 100644 --- a/src/spellchecker.C +++ b/src/spellchecker.C @@ -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