commit | e809a4ed3014fbf717c936c727291b5f038829a5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 04 17:35:05 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 04 17:35:05 2019 +0200 |
tree | 5674e27df9d3158e318acb2d9656f98a1bc237dc | |
parent | 790c18bfa5dfeca51749b752dddc41e60cb3fa54 [diff] [blame] |
patch 8.1.1630: various small problems Problem: Various small problems. Solution: Various small improvements.
diff --git a/src/menu.c b/src/menu.c index f32fe49..5cdf501 100644 --- a/src/menu.c +++ b/src/menu.c
@@ -583,7 +583,7 @@ } /* 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;