mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor: pre-incr to post-incr
This commit is contained in:
@@ -3100,7 +3100,7 @@ static void add_suggestion(suginfo_T *su, garray_T *gap, const char_u *goodword,
|
||||
// being replaced "thes," -> "these" is a different suggestion from
|
||||
// "thes" -> "these".
|
||||
stp = &SUG(*gap, 0);
|
||||
for (i = gap->ga_len; --i >= 0; ++stp) {
|
||||
for (i = gap->ga_len; --i >= 0; stp++) {
|
||||
if (stp->st_wordlen == goodlen
|
||||
&& stp->st_orglen == badlen
|
||||
&& STRNCMP(stp->st_word, goodword, goodlen) == 0) {
|
||||
|
Reference in New Issue
Block a user