OSDN Git Service

Correct processing of package group associations.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Tue, 1 Oct 2013 12:49:35 +0000 (13:49 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Tue, 1 Oct 2013 12:49:35 +0000 (13:49 +0100)
ChangeLog
src/pkgtree.cpp

index c8f1d38..43df91f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-10-01  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct processing of package group associations.
+
+       * src/pkgtree.cpp (AppWindowMaker::IsPackageGroupAffiliate): Iterate
+       over "affiliate_key" elements in FindNextAssociate() calls; original
+       implementation was incorrectly iterating over "group_key" elements.
+
 2013-09-21  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Reorder controls within "Apply Changes" dialogue.
index 62ac2ee..64696d6 100644 (file)
@@ -466,7 +466,7 @@ bool AppWindowMaker::IsPackageGroupAffiliate( pkgXmlNode *package )
        * check for any further "affiliate" declarations at the
        * current level within the XML document hierarchy...
        */
-      group = group->FindNextAssociate( group_key );
+      group = group->FindNextAssociate( affiliate_key );
     }
     /* ...and at enclosing levels, as may be necessary.
      */