From bcecbbd1be577a3bd18e20b9fe64ee072fcc6dd2 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Fri, 5 Jun 1998 21:00:15 +0000 Subject: [PATCH] Add \n's on the end of g_prints in the mem profiling code. Add \n's on the end of g_prints in the mem profiling code. --- glib/gmem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glib/gmem.c b/glib/gmem.c index 101255966..5d51a856b 100644 --- a/glib/gmem.c +++ b/glib/gmem.c @@ -21,8 +21,8 @@ #include "glib.h" -/* #define MEM_PROFILE */ -/* #define MEM_CHECK */ +#define MEM_PROFILE +#define MEM_CHECK #define MAX_MEM_AREA 65536L @@ -728,7 +728,7 @@ g_mem_chunk_print (GMemChunk *mem_chunk) mem_areas = mem_areas->next; } - g_print ("%s: %ld bytes using %d mem areas", rmem_chunk->name, mem, rmem_chunk->num_mem_areas); + g_print ("%s: %ld bytes using %d mem areas\n", rmem_chunk->name, mem, rmem_chunk->num_mem_areas); } void @@ -745,7 +745,7 @@ g_mem_chunk_info (void) mem_chunk = mem_chunk->next; } - g_print ("%d mem chunks", count); + g_print ("%d mem chunks\n", count); mem_chunk = mem_chunks; while (mem_chunk)