shithub: choc

Download patch

ref: bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a
parent: 3f8b7b23999b672f2aac922c9c1ba04e32628396
author: Simon Howard <fraggle@gmail.com>
date: Sun Jul 29 20:44:49 EDT 2007

Make the z_native "out of memory" error message match the normal z_zone
one.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 941

--- a/src/z_native.c
+++ b/src/z_native.c
@@ -264,7 +264,7 @@
         {
             if (!ClearCache(sizeof(memblock_t) + size))
             {
-                I_Error("Out of memory!");
+                I_Error("Z_Malloc: failed on allocation of %i bytes", size);
             }
         }
     }