diff options
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 e4338f349f..7eda4c6ebb 100644 --- a/src/menu.c +++ b/src/menu.c @@ -178,7 +178,7 @@ static void grow_menu_items (void) { if ((INT_MAX - MENU_ITEMS_PANE_LENGTH) / 2 < menu_items_allocated) - memory_full (); + memory_full (SIZE_MAX); menu_items_allocated *= 2; menu_items = larger_vector (menu_items, menu_items_allocated, Qnil); } |