GUI: Mark some intentional fall throughs in switches.

All of these are for handling kCloseCmd.
This commit is contained in:
Johannes Schickel 2013-07-15 13:44:24 +02:00
parent ddcfdf5329
commit 6a1112f98f
2 changed files with 3 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}