debugging almost there
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Oct 2007 05:20:24 +0000 (05:20 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Oct 2007 05:20:24 +0000 (05:20 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2650 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/marker.c

index f1053d8ccdb850346eb587071110d97d3cd38bc8..07c50f27d3581809dfc4b898bfd7fd0c045db7ee 100644 (file)
@@ -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;
       }
This page took 0.025261 seconds and 4 git commands to generate.