oops, fix selection2str()
authorMichael Schroeder <mls@suse.de>
Mon, 29 Oct 2012 12:50:00 +0000 (13:50 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 29 Oct 2012 12:50:00 +0000 (13:50 +0100)
src/solverdebug.c

index a756d78..f33f6d2 100644 (file)
@@ -934,7 +934,7 @@ pool_selection2str(Pool *pool, Queue *selection, Id flagmask)
   const char *s2;
   int i;
   s = pool_tmpjoin(pool, 0, 0, 0);
-  for (i = 0; i < selection->count; i++)
+  for (i = 0; i < selection->count; i += 2)
     {
       Id how = selection->elements[i];
       if (*s)