(svn r3211) Fix typo in r3181
authortron
Wed, 16 Nov 2005 16:16:18 +0000
changeset 2669 2f69f91002ac
parent 2668 54d9f9d4dca3
child 2670 34970983ef08
(svn r3211) Fix typo in r3181
network_gui.c
--- a/network_gui.c	Wed Nov 16 14:41:01 2005 +0000
+++ b/network_gui.c	Wed Nov 16 16:16:18 2005 +0000
@@ -123,7 +123,7 @@
 			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