From fde78bb03f643b63e48b864d89f1b7ff01940ddf Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 8 Jul 2005 19:46:41 +0000 Subject: [PATCH] (svn r2533) Move misplaced parenthesis, found by ludde --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map.c b/map.c index 68ab6e3dae..66ac9dacb0 100644 --- a/map.c +++ b/map.c @@ -39,7 +39,7 @@ void InitMap(uint log_x, uint log_y) _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 ||