mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-07 20:15:12 +01:00
revert change - keep check on allowUsedSpaceTxtUpdate before each setText
This commit is contained in:
parent
35aac59bd8
commit
b19f469b13
@ -1693,12 +1693,15 @@ void GameBrowseMenu::UpdateCallback(void * e)
|
||||
|
||||
void GameBrowseMenu::SetFreeSpace(float freespace, float used)
|
||||
{
|
||||
if ( allowUsedSpaceTxtUpdate == true ) {
|
||||
if (strcmp(Settings.db_language, "JA") == 0)
|
||||
|
||||
if (strcmp(Settings.db_language, "JA") == 0) {
|
||||
if ( allowUsedSpaceTxtUpdate == true )
|
||||
usedSpaceTxt->SetText(fmt("%.2fGB %s %.2fGB %s", freespace + used, tr( "of" ), freespace, tr( "free" )));
|
||||
else
|
||||
usedSpaceTxt->SetText(fmt("%.2fGB %s %.2fGB %s", freespace, tr( "of" ), freespace + used, tr( "free" )));
|
||||
}
|
||||
else
|
||||
if ( allowUsedSpaceTxtUpdate == true )
|
||||
usedSpaceTxt->SetText(fmt("%.2fGB %s %.2fGB %s", freespace, tr( "of" ), freespace + used, tr( "free" )));
|
||||
|
||||
}
|
||||
|
||||
void GameBrowseMenu::UpdateFreeSpace(void * arg)
|
||||
|
Loading…
Reference in New Issue
Block a user