Keep running when spell checking fails

This commit is contained in:
Zane U. Ji 2022-10-08 23:15:45 +08:00
parent 4440c13adf
commit c5ffbe1dc8
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Version number followed by the release date
1.3.1.0
* Keep running when spell checking fails
+ Support libenchant-2
* Fix a DDE error on Windows (Bug #236)
* gdk_x11_get_server_time crashes when an invalid window is passed

View File

@ -60,8 +60,9 @@ WrapAspell::WrapAspell (
spell_checker = 0;
if ( aspell_error_number ( possible_err ) != 0)
{
puts ( aspell_error_message ( possible_err ) );
throw;
const char *error = aspell_error_message ( possible_err );
wxLogError ( error );
throw error;
}
else
spell_checker = to_aspell_speller ( possible_err );