summaryrefslogtreecommitdiff
path: root/src/pkg_sortpolicy.cc
diff options
context:
space:
mode:
authorManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2012-02-21 14:31:18 +0000
committerManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2012-02-21 14:31:18 +0000
commit32ca18ce479736348c7ab8561eeb05c8a60fb586 (patch)
tree4ed0dee6264ff0e7cc9a8e18516b0ba36773fab5 /src/pkg_sortpolicy.cc
parent25513802d2bbc8a9d3e95b556a3f61d4d2eb0439 (diff)
downloadaptitude-32ca18ce479736348c7ab8561eeb05c8a60fb586.tar.gz
Fix indentation (conditions and their possible actions inverted), otherwise it induces to error when reading the code
Diffstat (limited to 'src/pkg_sortpolicy.cc')
-rw-r--r--src/pkg_sortpolicy.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg_sortpolicy.cc b/src/pkg_sortpolicy.cc
index 4cf6ff26..55663101 100644
--- a/src/pkg_sortpolicy.cc
+++ b/src/pkg_sortpolicy.cc
@@ -145,10 +145,10 @@ PKG_SORTPOLICY_SUBCLASS(pkg_sortpolicy_priority,
int pri2=ver2.end()?0:ver2->Priority;
if(pri1<pri2)
return -1;
- else if(pri1==pri2)
- return 0;
- else // if(pri1>pri2)
- return 1;);
+ else if(pri1==pri2)
+ return 0;
+ else // if(pri1>pri2)
+ return 1;);
// Sort by version number
PKG_SORTPOLICY_SUBCLASS(pkg_sortpolicy_ver,