Fixed truncation of date&time in header view
This commit is contained in:
parent
8be23dd403
commit
bd659093bf
@ -220,7 +220,7 @@ void GMsgHeaderView::Paint() {
|
||||
|
||||
if(datewidth > 0) {
|
||||
if(msg->written)
|
||||
strftimei(buf, datewidth, LNG->DateTimeFmt, ggmtime(&msg->written));
|
||||
strftimei(buf, datewidth+1, LNG->DateTimeFmt, ggmtime(&msg->written));
|
||||
else
|
||||
*buf = NUL;
|
||||
strsetsz(buf, datewidth);
|
||||
@ -264,7 +264,7 @@ void GMsgHeaderView::Paint() {
|
||||
|
||||
if(datewidth > 0) {
|
||||
if(msg->arrived)
|
||||
strftimei(buf, datewidth, LNG->DateTimeFmt, ggmtime(&msg->arrived));
|
||||
strftimei(buf, datewidth+1, LNG->DateTimeFmt, ggmtime(&msg->arrived));
|
||||
else
|
||||
*buf = NUL;
|
||||
strsetsz(buf, datewidth);
|
||||
|
Reference in New Issue
Block a user