mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix MSVC crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30226 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
14864ab16a
commit
d9ce39844f
@ -101,6 +101,10 @@ ASpell::Result ASpell::check(WordLangTuple const & word)
|
||||
|
||||
AspellSpeller * m = it->second.speller;
|
||||
|
||||
if (word.word().empty())
|
||||
// MSVC compiled Aspell doesn't like it.
|
||||
return OK;
|
||||
|
||||
int const word_ok = aspell_speller_check(m, to_utf8(word.word()).c_str(), -1);
|
||||
LASSERT(word_ok != -1, /**/);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user