diff options
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r-- | src/gui_gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 8537060279..a881aade02 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -1452,7 +1452,7 @@ split_button_string(char_u *button_string, int *n_buttons) if (*p == DLG_BUTTON_SEP) ++count; - array = (char **)alloc((count + 1) * sizeof(char *)); + array = ALLOC_MULT(char *, count + 1); count = 0; if (array != NULL) |