From 43079cf72f69d685578d5f389f80b500e344b8ca Mon Sep 17 00:00:00 2001 From: PatR Date: Fri, 30 Jun 2023 16:54:43 -0700 Subject: [PATCH] paranoid_confirm menu followup The command name is expected to be short and the menu description is expected to be short, but use a bigger buffer for the combination of the two just in case. --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 1e702034a..2eb645484 100644 --- a/src/options.c +++ b/src/options.c @@ -5594,7 +5594,7 @@ handler_paranoid_confirmation(void) winid tmpwin; anything any; int i; - char mkey, mbuf[QBUFSZ], ebuf[QBUFSZ], cbuf[QBUFSZ]; + char mkey, mbuf[QBUFSZ], ebuf[BUFSZ], cbuf[QBUFSZ]; const char *explain, *cmdnm; menu_item *paranoia_picks = (menu_item *) 0; int clr = 0;