diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-04 17:35:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-04 17:35:05 +0200 |
commit | e809a4ed3014fbf717c936c727291b5f038829a5 (patch) | |
tree | 5674e27df9d3158e318acb2d9656f98a1bc237dc /src/menu.c | |
parent | 790c18bfa5dfeca51749b752dddc41e60cb3fa54 (diff) |
patch 8.1.1630: various small problemsv8.1.1630
Problem: Various small problems.
Solution: Various small improvements.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c index f32fe4992d..5cdf501446 100644 --- a/src/menu.c +++ b/src/menu.c @@ -583,7 +583,7 @@ add_menu_path( } /* Not already there, so lets add it */ - menu = (vimmenu_T *)alloc_clear(sizeof(vimmenu_T)); + menu = ALLOC_CLEAR_ONE(vimmenu_T); if (menu == NULL) goto erret; |