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
commitea1921d2e0a45a94af69365c38533944fa46c0fa (patch)
treed0da29278df9536f146b6ea19cf1280c0137a73b
parentcd1ad247231e98e83298943ac661af0990058cf9 (diff)
downloadopenttd-ea1921d2e0a45a94af69365c38533944fa46c0fa.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