mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-22 09:51:55 +01:00
eliminate duplicate check on allowUsedSpaceTxtUpdate
This commit is contained in:
parent
d507ba5ed1
commit
35aac59bd8
@ -1693,13 +1693,12 @@ void GameBrowseMenu::UpdateCallback(void * e)
|
||||
|
||||
void GameBrowseMenu::SetFreeSpace(float freespace, float used)
|
||||
{
|
||||
if (strcmp(Settings.db_language, "JA") == 0) {
|
||||
if ( allowUsedSpaceTxtUpdate == true )
|
||||
if ( allowUsedSpaceTxtUpdate == true ) {
|
||||
if (strcmp(Settings.db_language, "JA") == 0)
|
||||
usedSpaceTxt->SetText(fmt("%.2fGB %s %.2fGB %s", freespace + used, tr( "of" ), freespace, tr( "free" )));
|
||||
}
|
||||
else
|
||||
if ( allowUsedSpaceTxtUpdate == true )
|
||||
else
|
||||
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