X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FASpell.cpp;h=51d1ed4bf9315a740280eda2974744c37959af24;hb=e08e5afeea7194d95be1f02fe9484383574d203f;hp=cafa53b3d6a0ddb9521129173ae4c8402d9fbeff;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/ASpell.cpp b/src/ASpell.cpp index cafa53b3d6..51d1ed4bf9 100644 --- a/src/ASpell.cpp +++ b/src/ASpell.cpp @@ -145,7 +145,7 @@ docstring const ASpell::nextMiss() docstring const ASpell::error() { char const * err = 0; - + if (spell_error_object && aspell_error_number(spell_error_object) != 0) { err = aspell_error_message(spell_error_object); }