summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
commit6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch)
tree1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/insexpand.c
parent921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff)
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 86c6a1415e..6e38098642 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -1966,8 +1966,8 @@ ins_compl_set_original_text(char_u *str)
p = vim_strsave(str);
if (p != NULL)
{
- vim_free(compl_first_match->cp_prev->cp_str);
- compl_first_match->cp_prev->cp_str = p;
+ vim_free(compl_first_match->cp_prev->cp_str);
+ compl_first_match->cp_prev->cp_str = p;
}
}
}
@@ -3176,7 +3176,7 @@ typedef struct
* st->first_match_pos - position of the first completion match
* st->last_match_pos - position of the last completion match
* st->set_match_pos - TRUE if the first match position should be saved to
- * avoid loops after the search wraps around.
+ * avoid loops after the search wraps around.
* st->dict - name of the dictionary or thesaurus file to search
* st->dict_f - flag specifying whether "dict" is an exact file name or not
*