mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
GUI: Mark some intentional fall throughs in switches.
All of these are for handling kCloseCmd.
This commit is contained in:
parent
ddcfdf5329
commit
6a1112f98f
@ -67,6 +67,7 @@ void ChooserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data
|
||||
break;
|
||||
case kCloseCmd:
|
||||
setResult(-1);
|
||||
// Fall through
|
||||
default:
|
||||
Dialog::handleCommand(sender, cmd, data);
|
||||
}
|
||||
|
@ -286,6 +286,7 @@ void SaveLoadChooserSimple::handleCommand(CommandSender *sender, uint32 cmd, uin
|
||||
break;
|
||||
case kCloseCmd:
|
||||
setResult(-1);
|
||||
// Fall through
|
||||
default:
|
||||
SaveLoadChooserDialog::handleCommand(sender, cmd, data);
|
||||
}
|
||||
@ -595,6 +596,7 @@ void SaveLoadChooserGrid::handleCommand(CommandSender *sender, uint32 cmd, uint3
|
||||
|
||||
case kCloseCmd:
|
||||
setResult(-1);
|
||||
// Fall through
|
||||
default:
|
||||
SaveLoadChooserDialog::handleCommand(sender, cmd, data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user