Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
space after =
OK.
| Index: frontends/controllers/ControlSpellchecker.C
| ===================================================================
| --- frontends/controllers/ControlSpellchecker.C (revision 14911)
| +++ frontends/controllers/ControlSpellchecker.C (working copy)
| @@ -96,7 +98,15 @@
| {
| lyxerr[Debug::GUI] << "Spellchecker::initialiseParams" << endl;
|
| +#if defined(USE_ASPELL)
| + string lang = (lyxrc.isp_use_alt_lang)
| + ? lyxrc.isp_alt_lang
| + : kernel().buffer().params().language->code();
| + static_cast<ASpell *>(speller_.get())->reset(lang);
Perhaps speller_ should be changed to a shared_ptr, so that we can use
the nicer pointer_cast.
For 1.4 you mean? For trunk, agreed.
Abdel.