From 805e05f5cf61dbd41705cd62ffc3a5bf7517eaf9 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 23 Aug 2005 00:33:39 +0000 Subject: [PATCH] enum fix git-svn-id: http://ltt.polymtl.ca/svn@1054 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/text/textDump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/text/textDump.c b/ltt/branches/poly/lttv/modules/text/textDump.c index 96773a6c..32259a6b 100644 --- a/ltt/branches/poly/lttv/modules/text/textDump.c +++ b/ltt/branches/poly/lttv/modules/text/textDump.c @@ -92,8 +92,9 @@ void print_field(LttEvent *e, LttField *f, GString *s, gboolean field_names) { break; case LTT_ENUM: - g_string_append_printf(s, " %s", ltt_enum_string_get(type, - ltt_event_get_unsigned(e,f)-1)); + g_string_append_printf(s, " %s", + g_quark_to_string(ltt_enum_string_get(type, + ltt_event_get_unsigned(e,f)-1))); break; case LTT_ARRAY: -- 2.34.1