diff options
author | Guillem Jover <guillem@debian.org> | 2007-03-21 21:45:46 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2007-03-21 21:45:46 +0000 |
commit | daf844321a2ac5ba9a6874208505088b2cda30d9 (patch) | |
tree | 05f2a89236bc3979a3e17d0cea31e35d680640e7 /dselect/pkgtop.cc | |
parent | 09af45b299de2d36ce0011f8a009f3bba0701ed1 (diff) | |
download | dpkg-daf844321a2ac5ba9a6874208505088b2cda30d9.tar.gz |
Show the epoch (if present) when displaying package versions.
Closes: #107449, #179913, #345594, #393924, #405668
Based on a patch by Jeffrey W. Baker.
Diffstat (limited to 'dselect/pkgtop.cc')
-rw-r--r-- | dselect/pkgtop.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/pkgtop.cc b/dselect/pkgtop.cc index 385ed53f2..8edde4136 100644 --- a/dselect/pkgtop.cc +++ b/dselect/pkgtop.cc @@ -208,14 +208,14 @@ void packagelist::redraw1itemsel(int index, int selected) { if (versioninstalled_width) mvwprintw(listpad,index,versioninstalled_column, "%-*.*s ", versioninstalled_width, versioninstalled_width, - versiondescribe(&pkg->installed.version,vdew_never)); + versiondescribe(&pkg->installed.version, vdew_nonambig)); if (versionavailable_width) { if (informativeversion(&pkg->available.version) && versioncompare(&pkg->available.version,&pkg->installed.version) > 0) wattrset(listpad, selected ? selstatesel_attr : selstate_attr); mvwprintw(listpad,index,versionavailable_column, "%-*.*s", versionavailable_width, versionavailable_width, - versiondescribe(&pkg->available.version,vdew_never)); + versiondescribe(&pkg->available.version, vdew_nonambig)); wattrset(listpad, selected ? listsel_attr : list_attr); waddch(listpad,' '); } |