summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 16:16:18 +0000
committertron <tron@openttd.org>2005-11-16 16:16:18 +0000
commit5cb9de35d114cf1f7b92945924c9fc05fa117d47 (patch)
treed0da29278df9536f146b6ea19cf1280c0137a73b
parentc1b012171d2a0db4702af7f2b1616a2139e98dcd (diff)
downloadopenttd-5cb9de35d114cf1f7b92945924c9fc05fa117d47.tar.xz
(svn r3211) Fix typo in r3181
-rw-r--r--network_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c
index e3dbac77e..86384fd79 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -123,7 +123,7 @@ static void NetworkGameWindowWndProc(Window *w, WindowEvent *e)
while (cur_item != NULL) {
bool compatible =
strncmp(cur_item->info.server_revision, _openttd_revision, NETWORK_REVISION_LENGTH - 1) == 0 ||
- strncmp(cur_item->info.server_revision, NOREV_STRING, sizeof(cur_item->info.server_revision) == 0);
+ strncmp(cur_item->info.server_revision, NOREV_STRING, sizeof(cur_item->info.server_revision)) == 0;
if (cur_item == sel)
GfxFillRect(11, y - 2, 218, y + 9, 10); // show highlighted item with a different colour