mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 05:11:35 +03:00
tweaks: allow enough space for the Y/N/A characters [coverity scan]
This commit is contained in:
parent
3f0e42c13b
commit
52e2e52db3
@ -709,7 +709,7 @@ int do_yesno_prompt(bool all, const char *msg)
|
||||
functionptrtype func;
|
||||
|
||||
if (!ISSET(NO_HELP)) {
|
||||
char shortstr[3];
|
||||
char shortstr[MAXCHARLEN + 2];
|
||||
/* Temporary string for (translated) " Y", " N" and " A". */
|
||||
|
||||
if (COLS < 32)
|
||||
|
Loading…
Reference in New Issue
Block a user