mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-25 10:42:07 +03:00
spelling: retreat one x position, to not miss the first word
This fixes https://savannah.gnu.org/bugs/?47932.
This commit is contained in:
parent
b7f1136342
commit
0cc3da5d5e
@ -2399,7 +2399,8 @@ bool do_int_spell_fix(const char *word)
|
||||
openfile->current_x = (size_t)(top_x - 1);
|
||||
openfile->mark_begin = bot;
|
||||
openfile->mark_begin_x = bot_x;
|
||||
}
|
||||
} else
|
||||
openfile->current_x = (size_t)(openfile->current_x - 1);
|
||||
openfile->mark_set = FALSE;
|
||||
} else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user