summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:28 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:28 +0000
commitf0ec51c2bc1cb671bc9f834c1b0921feaf1338a4 (patch)
tree72967616f254c4857b30addebab8c4d807d0bd18 /cmdline
parentabc8419e9114fa0cc1f925eab6b9f456bba90804 (diff)
Fix for display bug. Closes: #92033
Author: jgg Date: 2001-04-10 04:49:52 GMT Fix for display bug. Closes: #92033
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index c449b3379..6419299fc 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.104 2001/03/13 05:23:42 jgg Exp $
+// $Id: apt-get.cc,v 1.105 2001/04/10 04:49:52 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -232,6 +232,9 @@ void ShowBroken(ostream &out,CacheFile &Cache,bool Now)
{
out << ' ';
pkgCache::VerIterator Ver = Cache[Targ].InstVerIter(Cache);
+ if (Now == true)
+ Ver = Targ.CurrentVer();
+
if (Ver.end() == false)
{
if (Now == true)