summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-08-01 20:52:11 +0000
committerterkhen <terkhen@openttd.org>2010-08-01 20:52:11 +0000
commit80c43f52e838c567a4f349a1a9d901407cbb56ef (patch)
tree6eabbbb6c6d9413f2b0fbda0f2d1c73f7e352478 /src/network
parent7b62e4dc8e69fa37cb5792b911105371a47cf223 (diff)
downloadopenttd-80c43f52e838c567a4f349a1a9d901407cbb56ef.tar.xz
(svn r20289) -Codechange: Unify fall through coding style.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/udp.cpp3
-rw-r--r--src/network/network_gui.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 679bfa313..1163ee3bb 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -246,7 +246,8 @@ void NetworkUDPSocketHandler::Recv_NetworkGameInfo(Packet *p, NetworkGameInfo *i
*dst = c;
dst = &c->next;
}
- } // FALL THROUGH
+ /* FALL THROUGH */
+ }
case 3:
info->game_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);
info->start_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index bd539c106..9a2347ba2 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -2312,8 +2312,8 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
switch (widget) {
case NCPWW_OK:
this->OnOk();
+ /* FALL THROUGH */
- /* FALL THROUGH */
case NCPWW_CANCEL:
delete this;
break;