From: Dale Weiler <killfieldengine@gmail.com>
Date: Sun, 2 Jun 2013 08:28:56 +0000 (+0000)
Subject: Fix the peak
X-Git-Tag: v0.3.0~151^2~15
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=564cac859a97977ebaee4da42f53a46bbc4aa8b3;p=xonotic%2Fgmqcc.git

Fix the peak
---

diff --git a/stat.c b/stat.c
index 5c1a6f4..372cc14 100644
--- a/stat.c
+++ b/stat.c
@@ -515,7 +515,7 @@ static void stat_dump_mem_info() {
         stat_mem_deallocated_total,
         (float)(stat_mem_allocated)                        / 1048576.0f,
         (float)(stat_mem_deallocated)                      / 1048576.0f,
-        (float)(stat_mem_high)                             / 1048576.0f,
+        (float)(stat_mem_peak)                             / 1048576.0f,
         (float)(stat_mem_allocated - stat_mem_deallocated) / 1048576.0f,
         stat_mem_allocated_total - stat_mem_deallocated_total
     );