X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Flist_keys.c;h=92c8ba4f012f9e232e797dd2bfdd5d5fe7a89429;hp=2000a44e767490006596cd64d36436fb77bb1d9d;hb=5da4544722decdeb2bfd0c7c4581af0ea62148f9;hpb=d545d5dd9889756f005fb63a843adb230b990493 diff --git a/test/list_keys.c b/test/list_keys.c index 2000a44e..92c8ba4f 100644 --- a/test/list_keys.c +++ b/test/list_keys.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: list_keys.c,v 1.23 2018/02/12 09:57:31 tom Exp $ + * $Id: list_keys.c,v 1.24 2018/05/20 18:56:56 tom Exp $ * * Author: Thomas E Dickey * @@ -209,8 +209,8 @@ draw_line(int width) static const char * modified_key(const char *name) { - static char result[80]; - char buffer[sizeof(result)]; + static char result[100]; + char buffer[sizeof(result) - 10]; int value; char chr; static const char *modifiers[][2] =