diff options
author | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2012-02-21 14:31:18 +0000 |
---|---|---|
committer | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2012-02-21 14:31:18 +0000 |
commit | 32ca18ce479736348c7ab8561eeb05c8a60fb586 (patch) | |
tree | 4ed0dee6264ff0e7cc9a8e18516b0ba36773fab5 /src/pkg_sortpolicy.cc | |
parent | 25513802d2bbc8a9d3e95b556a3f61d4d2eb0439 (diff) | |
download | aptitude-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.cc | 8 |
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, |