From 88ca183191d781effd96add853e40d37ce3a0233 Mon Sep 17 00:00:00 2001 From: terkhen Date: Thu, 29 Jul 2010 14:26:28 +0000 Subject: (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). --- src/vehicle_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vehicle_gui.cpp') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 527068da1..9a9d869fc 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -516,7 +516,7 @@ struct RefitWindow : public Window { BuildRefitList(v, &this->list); this->vscroll.SetCount(this->list.Length()); } - /* FALLTHROUGH */ + /* 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; @@ -1633,7 +1633,7 @@ struct VehicleDetailsWindow : Window { DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, y, STR_VEHICLE_INFO_WEIGHT_POWER_MAX_SPEED_MAX_TE); break; } - /* Fallthrough */ + /* FALL THROUGH */ case VEH_SHIP: case VEH_AIRCRAFT: SetDParam(0, v->GetDisplayMaxSpeed()); @@ -2150,7 +2150,7 @@ public: str = STR_VEHICLE_STATUS_LEAVING; break; } - /* fall-through if aircraft. Does this even happen? */ + /* FALL THROUGH, if aircraft. Does this even happen? */ default: if (v->GetNumOrders() == 0) { -- cgit v1.2.3-54-g00ecf