diff options
author | Guillem Jover <guillem@debian.org> | 2014-06-02 00:52:37 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-06-02 00:52:37 +0200 |
commit | 224d0246bb59e5066de6693a18bf8654dafa135d (patch) | |
tree | 4a22019f6910057d65c004129945694d1203bbce /dselect/pkgdepcon.cc | |
parent | 2240b13459eb24c653a0c1d88987076cfaaf19ef (diff) | |
download | dpkg-224d0246bb59e5066de6693a18bf8654dafa135d.tar.gz |
libdpkg: Uppercase and namespace pkgeflag enum values
Diffstat (limited to 'dselect/pkgdepcon.cc')
-rw-r--r-- | dselect/pkgdepcon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/pkgdepcon.cc b/dselect/pkgdepcon.cc index aaf73f4b8..ffec14450 100644 --- a/dselect/pkgdepcon.cc +++ b/dselect/pkgdepcon.cc @@ -186,9 +186,9 @@ packagelist::deselect_one_of(pkginfo *per, pkginfo *ped, dependency *dep) perpackagestate *best; // Try not keep packages needing reinstallation. - if (per->eflag & eflag_reinstreq) + if (per->eflag & PKG_EFLAG_REINSTREQ) best = ed; - else if (ped->eflag & eflag_reinstreq) + else if (ped->eflag & PKG_EFLAG_REINSTREQ) best = er; else if (er->spriority < ed->spriority) best= er; // We'd rather change the else if (er->spriority > ed->spriority) best= ed; // one with the lowest priority. |