From d00d8873466ab9946c0b8a473cf3d0c914bdd871 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 11 Mar 2006 16:58:28 +0000 Subject: [PATCH] moved name in memory pools to a different part of the structure, to make ddd displays read better git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6097 d7cf8633-e32d-0410-b094-e92efae38249 --- zone.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone.h b/zone.h index 12809647..285facca 100644 --- a/zone.h +++ b/zone.h @@ -103,8 +103,6 @@ typedef struct mempool_s size_t realsize; // updated each time the pool is displayed by memlist, shows change from previous time (unless pool was freed) size_t lastchecksize; - // name of the pool - char name[POOLNAMESIZE]; // linked into global mempool list struct mempool_s *next; // parent object (used for nested memory pools) @@ -112,6 +110,8 @@ typedef struct mempool_s // file name and line where Mem_AllocPool was called const char *filename; int fileline; + // name of the pool + char name[POOLNAMESIZE]; // should always be MEMHEADER_SENTINEL1 unsigned int sentinel2; } -- 2.39.2