From 63632e88b59faf27683664213efe240d02fca66d Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 2 Feb 2009 20:02:20 +0100 Subject: [PATCH] removed ':' after pool statistics --- lib/as3/pool.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/as3/pool.c b/lib/as3/pool.c index 3cfc991..c158811 100644 --- a/lib/as3/pool.c +++ b/lib/as3/pool.c @@ -1168,25 +1168,25 @@ void pool_read(pool_t*pool, TAG*tag) void pool_dump(pool_t*pool, FILE*fo, char flags) { int t; - fprintf(fo, "%d integers:\n", pool->x_ints->num); + fprintf(fo, "%d integers\n", pool->x_ints->num); for(t=1;tx_ints->num;t++) { S32 val = *(int*)array_getkey(pool->x_ints, t); int freq = (int)(ptroff_t)array_getvalue(pool->x_ints, t); if(flags&1) fprintf(fo, "%5d %d) %d\n", freq, t, val); } - fprintf(fo, "%d unsigned integers:\n", pool->x_uints->num); + fprintf(fo, "%d unsigned integers\n", pool->x_uints->num); for(t=1;tx_uints->num;t++) { U32 val = *(unsigned int*)array_getkey(pool->x_uints, t); int freq = (int)(ptroff_t)array_getvalue(pool->x_uints, t); if(flags&1) fprintf(fo, "%5d %d) %d\n", freq, t, val); } - fprintf(fo, "%d floats:\n", pool->x_floats->num); + fprintf(fo, "%d floats\n", pool->x_floats->num); for(t=1;tx_floats->num;t++) { double d = pool_lookup_float(pool, t); int freq = (int)(ptroff_t)array_getvalue(pool->x_floats, t); if(flags&2) fprintf(fo, "%5d %d) %f\n", freq, t, d); } - fprintf(fo, "%d strings:\n", pool->x_strings->num); + fprintf(fo, "%d strings\n", pool->x_strings->num); for(t=1;tx_strings->num;t++) { string_t str = pool_lookup_string2(pool, t); int freq = (int)(ptroff_t)array_getvalue(pool->x_strings, t); @@ -1194,7 +1194,7 @@ void pool_dump(pool_t*pool, FILE*fo, char flags) if(flags&1) fwrite(str.str, str.len, 1, fo); if(flags&1) fprintf(fo, "\n", t); } - fprintf(fo, "%d namespaces:\n", pool->x_namespaces->num); + fprintf(fo, "%d namespaces\n", pool->x_namespaces->num); for(t=1;tx_namespaces->num;t++) { namespace_t*ns= (namespace_t*)array_getkey(pool->x_namespaces, t); char*s = namespace_tostring(ns); @@ -1202,7 +1202,7 @@ void pool_dump(pool_t*pool, FILE*fo, char flags) if(flags&1) fprintf(fo, "%5d %d) %s\n", freq, t, s); free(s); } - fprintf(fo, "%d namespace sets:\n", pool->x_namespace_sets->num); + fprintf(fo, "%d namespace sets\n", pool->x_namespace_sets->num); for(t=1;tx_namespace_sets->num;t++) { namespace_set_t*set = (namespace_set_t*)array_getkey(pool->x_namespace_sets, t); char*s = namespace_set_tostring(set); @@ -1211,7 +1211,7 @@ void pool_dump(pool_t*pool, FILE*fo, char flags) free(s); } - fprintf(fo, "%d multinames:\n", pool->x_multinames->num); + fprintf(fo, "%d multinames\n", pool->x_multinames->num); for(t=1;tx_multinames->num;t++) { multiname_t*m = (multiname_t*)array_getkey(pool->x_multinames, t); char*s = multiname_tostring(m); -- 1.7.10.4