mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-19 08:21:54 +01:00
little fix
This commit is contained in:
parent
2dc38a8354
commit
ef285a4977
@ -2915,13 +2915,20 @@ static int MenuDiscList()
|
|||||||
lastrawtime = rawtime;
|
lastrawtime = rawtime;
|
||||||
timeinfo = localtime (&rawtime);
|
timeinfo = localtime (&rawtime);
|
||||||
if (dataed < 1){
|
if (dataed < 1){
|
||||||
if((rawtime & 1)&&(Settings.hddinfo == hr12))
|
if(Settings.hddinfo == hr12){
|
||||||
|
if(rawtime & 1)
|
||||||
strftime(theTime, sizeof(theTime), "%I:%M", timeinfo);
|
strftime(theTime, sizeof(theTime), "%I:%M", timeinfo);
|
||||||
if((rawtime & 1)&&(Settings.hddinfo == hr24))
|
else
|
||||||
|
strftime(theTime, sizeof(theTime), "%I %M", timeinfo);
|
||||||
|
}
|
||||||
|
if(Settings.hddinfo == hr24){
|
||||||
|
if(rawtime & 1)
|
||||||
strftime(theTime, sizeof(theTime), "%H:%M", timeinfo);
|
strftime(theTime, sizeof(theTime), "%H:%M", timeinfo);
|
||||||
else
|
else
|
||||||
strftime(theTime, sizeof(theTime), "%H %M", timeinfo);
|
strftime(theTime, sizeof(theTime), "%H %M", timeinfo);
|
||||||
|
}
|
||||||
clockTime.SetText(theTime);
|
clockTime.SetText(theTime);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (dataed > 0){
|
else if (dataed > 0){
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user