mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #4576: fix visual glitches by avoiding g_module_close
on NULL
while loading libaspell
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
ac4305dde4
commit
876555035a
@ -174,8 +174,10 @@ spell_available (void)
|
|||||||
|
|
||||||
spell_module = g_module_open ("libaspell", G_MODULE_BIND_LAZY);
|
spell_module = g_module_open ("libaspell", G_MODULE_BIND_LAZY);
|
||||||
|
|
||||||
if (spell_module != NULL
|
if (spell_module == NULL)
|
||||||
&& ASPELL_FUNCTION_AVAILABLE (new_aspell_config)
|
return FALSE;
|
||||||
|
|
||||||
|
if (ASPELL_FUNCTION_AVAILABLE (new_aspell_config)
|
||||||
&& ASPELL_FUNCTION_AVAILABLE (aspell_dict_info_list_elements)
|
&& ASPELL_FUNCTION_AVAILABLE (aspell_dict_info_list_elements)
|
||||||
&& ASPELL_FUNCTION_AVAILABLE (aspell_dict_info_enumeration_next)
|
&& ASPELL_FUNCTION_AVAILABLE (aspell_dict_info_enumeration_next)
|
||||||
&& ASPELL_FUNCTION_AVAILABLE (new_aspell_speller)
|
&& ASPELL_FUNCTION_AVAILABLE (new_aspell_speller)
|
||||||
|
Loading…
Reference in New Issue
Block a user