summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
committerrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
commit80c259f64fd38cdb84f2bcb8a146e7ec4a448070 (patch)
treef018095aed2d70f8386d800c8e8ac662f4b9c8fa /src/network
parent41cf2fa69b8ff60f1b1633b68f47434075d00d75 (diff)
downloadopenttd-80c259f64fd38cdb84f2bcb8a146e7ec4a448070.tar.xz
(svn r9672) -Cleanup: lots of coding style fixes around operands.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/os_abstraction.h2
-rw-r--r--src/network/network_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index dc9f488db..46be0a4fe 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -161,7 +161,7 @@ typedef unsigned long in_addr_t;
/* Make the names compatible */
# define closesocket(s) CloseSocket(s)
# define GET_LAST_ERROR() Errno()
-# define ioctlsocket(s,request,status) IoctlSocket((LONG)s,(ULONG)request,(char*)status)
+# define ioctlsocket(s, request, status) IoctlSocket((LONG)s, (ULONG)request, (char*)status)
# define ioctl ioctlsocket
typedef unsigned int in_addr_t;
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 6686a1364..0117d4f29 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -789,7 +789,7 @@ static void ShowNetworkStartServerWindow()
_saveload_mode = SLD_NEW_GAME;
BuildFileList();
w->vscroll.cap = 12;
- w->vscroll.count = _fios_num+1;
+ w->vscroll.count = _fios_num + 1;
WP(w, network_ql_d).q.afilter = CS_ALPHANUMERAL;
InitializeTextBuffer(&WP(w, network_ql_d).q.text, _edit_str_buf, lengthof(_edit_str_buf), 160);