mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 14:00:03 +00:00
Correct date display with padding
This commit is contained in:
parent
e785662747
commit
825e058c94
@ -227,7 +227,7 @@ void PSPSaveDialog::DisplaySaveDataInfo1()
|
||||
else
|
||||
{
|
||||
char txt[1024];
|
||||
sprintf(txt,"%s\n%d/%d/%d %d:%d %d KB\n%s\n%s"
|
||||
sprintf(txt,"%s\n%02d/%02d/%d %02d:%02d %d KB\n%s\n%s"
|
||||
, param.GetFileInfo(currentSelectedSave).title
|
||||
, param.GetFileInfo(currentSelectedSave).modif_time.tm_mday
|
||||
, param.GetFileInfo(currentSelectedSave).modif_time.tm_mon + 1
|
||||
@ -251,7 +251,7 @@ void PSPSaveDialog::DisplaySaveDataInfo2()
|
||||
else
|
||||
{
|
||||
char txt[1024];
|
||||
sprintf(txt,"%s\n%d/%d/%d %d:%d\n%d KB"
|
||||
sprintf(txt,"%s\n%02d/%02d/%d %02d:%02d\n%d KB"
|
||||
, param.GetFileInfo(currentSelectedSave).saveTitle
|
||||
, param.GetFileInfo(currentSelectedSave).modif_time.tm_mday
|
||||
, param.GetFileInfo(currentSelectedSave).modif_time.tm_mon + 1
|
||||
|
Loading…
Reference in New Issue
Block a user