changeset 2024:7fff0f75d02b draft

(svn r2533) Move misplaced parenthesis, found by ludde
author tron <tron@openttd.org>
date Fri, 08 Jul 2005 19:46:41 +0000
parents 051ba47bd5e7
children f8a8dc5bdb1f
files map.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/map.c
+++ b/map.c
@@ -39,7 +39,7 @@
 	_map3_hi   = realloc(_map3_hi,   map_size * sizeof(_map3_hi[0]));
 	_map5      = realloc(_map5,      map_size * sizeof(_map5[0]));
 	_map_extra_bits =
-		realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0] / 4));
+		realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0]) / 4);
 
 	// XXX TODO handle memory shortage more gracefully
 	if (_map_type_and_height == NULL ||