summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index e3265c25c..8c335ffd3 100644
--- a/src/search.c
+++ b/src/search.c
@@ -470,7 +470,7 @@ set_last_csearch(int c, char_u *s UNUSED, int len UNUSED)
if (len)
memcpy(lastc_bytes, s, len);
else
- vim_memset(lastc_bytes, 0, sizeof(lastc_bytes));
+ CLEAR_FIELD(lastc_bytes);
}
#endif