From 2dc558929088ec99f403e84305fad72cafe2fa08 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 18 Apr 2007 22:41:53 +0000 Subject: (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. --- src/map.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index eadaffb5f..092603b4d 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -48,12 +48,12 @@ void AllocateMap(uint size_x, uint size_y) free(_me); _m = CallocT(_map_size); - _me = CallocT(_map_size); + _me = CallocT(_map_size); - /* XXX @todo handle memory shortage more gracefully - * Maybe some attemps could be made to try with smaller maps down to 64x64 - * Maybe check for available memory before doing the calls, after all, we know how big - * the map is */ + /* XXX @todo handle memory shortage more gracefully + * Maybe some attemps could be made to try with smaller maps down to 64x64 + * Maybe check for available memory before doing the calls, after all, we know how big + * the map is */ if ((_m == NULL) || (_me == NULL)) error("Failed to allocate memory for the map"); } -- cgit v1.2.3-54-g00ecf