mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
change back from debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4872 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e5d2dc5dcd
commit
0d0c758fcc
@ -31,14 +31,12 @@ PSpell::PSpell(BufferParams const &, string const & lang)
|
||||
: sc(0), els(0), spell_error_object(0), alive_(false)
|
||||
{
|
||||
PspellConfig * config = new_pspell_config();
|
||||
pspell_config_replace(config, "lang", lang.c_str());
|
||||
pspell_config_replace(config, "language-tag", lang.c_str());
|
||||
spell_error_object = new_pspell_manager(config);
|
||||
if (pspell_error_number(spell_error_object) == 0) {
|
||||
sc = to_pspell_manager(spell_error_object);
|
||||
spell_error_object = 0;
|
||||
alive_ = true;
|
||||
} else {
|
||||
lyxerr << pspell_error_message(spell_error_object) << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user