Author: mlschroe Date: Fri Nov 28 18:26:21 2008 New Revision: 11831 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11831&view=rev Log: - fix problem sorting Modified: trunk/sat-solver/src/solver.c Modified: trunk/sat-solver/src/solver.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.c?rev=11831&r1=11830&r2=11831&view=diff ============================================================================== --- trunk/sat-solver/src/solver.c (original) +++ trunk/sat-solver/src/solver.c Fri Nov 28 18:26:21 2008 @@ -3224,8 +3224,8 @@ { Queue *job = problems_sort_data; int af = job->elements[-a - 1] & SOLVER_ESSENTIAL; - int bf = job->elements[-a - 1] & SOLVER_ESSENTIAL; - int x = bf - af; + int bf = job->elements[-b - 1] & SOLVER_ESSENTIAL; + int x = af - bf; if (x) return x; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org