summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e8984ee597..a65392f772 100644
--- a/src/main.c
+++ b/src/main.c
@@ -119,7 +119,7 @@ main
// Many variables are in "params" so that we can pass them to invoked
// functions without a lot of arguments. "argc" and "argv" are also
// copied, so that they can be changed.
- vim_memset(&params, 0, sizeof(params));
+ CLEAR_FIELD(params);
params.argc = argc;
params.argv = argv;
params.want_full_screen = TRUE;