aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r--src/nvim/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index 24e95efb03..d20bd77289 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -1023,7 +1023,7 @@ int do_search(
else /* single '+' */
spats[0].off.off = 1;
++p;
- while (ascii_isdigit(*p)) /* skip number */
+ while (ascii_isdigit(*p)) /* skip number */
++p;
}
@@ -2921,7 +2921,7 @@ extend:
*/
if (start_blank) {
find_first_blank(&curwin->w_cursor);
- c = gchar_pos(&curwin->w_cursor); /* ascii_iswhite() is a macro */
+ c = gchar_pos(&curwin->w_cursor);
if (ascii_iswhite(c))
decl(&curwin->w_cursor);
} else if (c = gchar_cursor(), !ascii_iswhite(c))