(spell_dialog_spell_suggest_show): refactoring.
commit54d4dfc534bded789d59c92b8a90a0268d813dab
authorAndrew Borodin <aborodin@vmail.ru>
Thu, 12 Sep 2024 06:51:39 +0000 (12 09:51 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 5 Oct 2024 12:07:14 +0000 (5 15:07 +0300)
treeeabe09f03d7a9f76ea2a333674e3c0049a118786
parent80f7a162c31053884226d3f6becf09a55e6ca2d6
(spell_dialog_spell_suggest_show): refactoring.

Reduce variable scope. Get rid of extra NULL check: g_strdup() handles
NULL correctly. Remove intermediate variable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/spell.c