]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
apt-pkg/algorithms.cc: iterate Breaks the same way as Conflicts, so that
[apt.git] / apt-pkg / algorithms.cc
index f7a333606e572332d46ec73bb454d846b713de56..7a9586ca015a966cf927df54ca52beb0c8e0edca 100644 (file)
@@ -1098,8 +1098,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
                  LEnd->Dep = End;
                  LEnd++;
                  
-                 if (Start->Type != pkgCache::Dep::Conflicts &&
-                     Start->Type != pkgCache::Dep::Obsoletes)
+                 if (Start.IsNegative() == false)
                     break;
               }
            }