spelling: retreat one x position, to not miss the first word

This fixes https://savannah.gnu.org/bugs/?47932.
master
Benno Schulenberg 2016-05-14 11:53:52 +02:00
parent b7f1136342
commit 0cc3da5d5e
1 changed files with 2 additions and 1 deletions

View File

@ -2399,7 +2399,8 @@ bool do_int_spell_fix(const char *word)
openfile->current_x = (size_t)(top_x - 1); openfile->current_x = (size_t)(top_x - 1);
openfile->mark_begin = bot; openfile->mark_begin = bot;
openfile->mark_begin_x = bot_x; openfile->mark_begin_x = bot_x;
} } else
openfile->current_x = (size_t)(openfile->current_x - 1);
openfile->mark_set = FALSE; openfile->mark_set = FALSE;
} else } else
#endif #endif