We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3fc8e commit d0f0324Copy full SHA for d0f0324
1 file changed
demos/tui.c
@@ -71,7 +71,7 @@ static char wordchar(void)
71
static char *padstr(char *s, int length)
72
{
73
static char buf[MAXSTRLEN];
74
- char fmt[10];
+ char fmt[15];
75
76
sprintf(fmt, (int)strlen(s) > length ? "%%.%ds" : "%%-%ds", length);
77
sprintf(buf, fmt, s);
0 commit comments