Commit 52e2e52d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: allow enough space for the Y/N/A characters [coverity scan]

parent 3f0e42c1
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment