better toolbar strftime size/padding fix

This commit is contained in:
Dana Jansens 2002-05-01 22:30:44 +00:00
parent 73f0a90993
commit ba832151d0

View file

@ -397,7 +397,8 @@ void Toolbar::reconfigure() {
if (tt) {
char t[1025], *time_string = (char *) 0;
int len = strftime(t, 1024, screen.strftimeFormat(), tt);
t[len++] = ' '; // add a space to the string for padding
t[len++] = 'A'; // add size to the string for padding
t[len++] = 'A'; // add size to the string for padding
t[len] = '\0';
if (i18n->multibyte()) {