summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorYexo <Yexo@openttd.org>2009-01-29 02:42:36 +0000
committerYexo <Yexo@openttd.org>2009-01-29 02:42:36 +0000
commite8f190849ec43775bff136361b9ffc364d5fe95f (patch)
treefb59c7c89e4c38389e254a1ef30bddf8833975e1 /src/core
parenta57c73e2f9db65778f14aaa28d5142ffb9950adf (diff)
downloadopenttd-e8f190849ec43775bff136361b9ffc364d5fe95f.tar.xz
(svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/alloc_func.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/alloc_func.hpp b/src/core/alloc_func.hpp
index f1e0f7ba8..a5a730771 100644
--- a/src/core/alloc_func.hpp
+++ b/src/core/alloc_func.hpp
@@ -69,7 +69,7 @@ static FORCEINLINE T *CallocT(size_t num_elements)
* elements of the given type. It also explicitly casts it to the requested
* type. It extends/shrinks the memory allocation given in t_ptr.
* @note throws an error when there is no memory anymore.
- * @note the memory contains all zero values.
+ * @note the pointer to the data may change, but the data will remain valid.
* @param T the type of the variable(s) to allocation.
* @param t_ptr the previous allocation to extend/shrink.
* @param num_elements the number of elements to allocate of the given type.