(svn r20289) -Codechange: Unify fall through coding style.

This commit is contained in:
terkhen
2010-08-01 20:52:11 +00:00
parent 65de287071
commit 04134c1e51
13 changed files with 24 additions and 16 deletions

View File

@@ -516,8 +516,8 @@ struct RefitWindow : public Window {
Vehicle *v = Vehicle::Get(this->window_number);
BuildRefitList(v, &this->list);
this->vscroll.SetCount(this->list.Length());
/* FALL THROUGH */
}
/* FALL THROUGH */
case 1: // A new cargo has been selected.
this->cargo = (this->sel >= 0 && this->sel < (int)this->list.Length()) ? &this->list[this->sel] : NULL;
@@ -533,8 +533,9 @@ struct RefitWindow : public Window {
this->InvalidateData(1);
if (click_count == 1) break;
/* FALL THROUGH */
}
/* FALL THROUGH */
case VRW_REFITBUTTON: // refit button
if (this->cargo != NULL) {
const Vehicle *v = Vehicle::Get(this->window_number);