From 565460eafbf79918133fa354b0827aa5a692f46e Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 11 Oct 2007 05:20:24 +0000 Subject: [PATCH] debugging almost there git-svn-id: http://ltt.polymtl.ca/svn@2650 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/marker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/ltt/marker.c b/ltt/branches/poly/ltt/marker.c index f1053d8c..07c50f27 100644 --- a/ltt/branches/poly/ltt/marker.c +++ b/ltt/branches/poly/ltt/marker.c @@ -346,7 +346,7 @@ static void format_parse(const char *fmt, struct marker_info *info) } break; case ' ': - if (name_end && name_begin) { + if (!name_end && name_begin) { name_end = fmt; if (name) g_free(name); @@ -356,7 +356,7 @@ static void format_parse(const char *fmt, struct marker_info *info) } break; /* Skip white spaces */ default: - if (!name) { + if (!name_begin) { name_begin = fmt; name_end = NULL; } -- 2.34.1