From 49b87a72c3c9319611de90bc81ad55ff1f81d09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Vigna?= Date: Mon, 2 Apr 2001 09:48:59 +0000 Subject: [PATCH] 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 --- src/ChangeLog | 4 ++++ src/spellchecker.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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