better toolbar strftime size/padding fix
This commit is contained in:
parent
73f0a90993
commit
ba832151d0
1 changed files with 2 additions and 1 deletions
|
@ -397,7 +397,8 @@ void Toolbar::reconfigure() {
|
||||||
if (tt) {
|
if (tt) {
|
||||||
char t[1025], *time_string = (char *) 0;
|
char t[1025], *time_string = (char *) 0;
|
||||||
int len = strftime(t, 1024, screen.strftimeFormat(), tt);
|
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';
|
t[len] = '\0';
|
||||||
|
|
||||||
if (i18n->multibyte()) {
|
if (i18n->multibyte()) {
|
||||||
|
|
Loading…
Reference in a new issue