X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fedit_field.c;h=72ddc4e7fb80b55e9b7dad5a60916ee0ce25f2f2;hp=f1a2ced48421fbb78e40e03f584f0f1e90d4b66d;hb=3e7e5f8b5c4e8e499f682a1c414c576c16d47532;hpb=5e1e572b71ae31a6071daa24e2460a68a6f1003c diff --git a/test/edit_field.c b/test/edit_field.c index f1a2ced4..72ddc4e7 100644 --- a/test/edit_field.c +++ b/test/edit_field.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: edit_field.c,v 1.27 2017/04/15 17:57:40 tom Exp $ + * $Id: edit_field.c,v 1.28 2017/06/24 23:10:08 tom Exp $ * * A wrapper for form_driver() which keeps track of the user's editing changes * for each field, and makes the resulting length available as a @@ -178,7 +178,7 @@ help_edit_field(void) { int used = 0; unsigned n; - char **msgs = typeCalloc(char *, 2 + SIZEOF(commands)); + char **msgs = typeCalloc(char *, 3 + SIZEOF(commands)); msgs[used++] = strdup("Defined form edit/traversal keys:"); for (n = 0; n < SIZEOF(commands); ++n) {