From f262b68a96de8dd87b0bf39e93d90158d31b918e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Kupec?= Date: Fri, 27 Mar 2009 14:39:35 +0100 Subject: [PATCH] Fix to show removed packages correctly. --- src/Summary.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Summary.cc b/src/Summary.cc index 13cb3e6..3959c9e 100644 --- a/src/Summary.cc +++ b/src/Summary.cc @@ -307,7 +307,7 @@ void Summary::writeNewlyInstalled(ostream & out) void Summary::writeRemoved(ostream & out) { - for_(it, toupgrade.begin(), toupgrade.end()) + for_(it, toremove.begin(), toremove.end()) { string label; if (it->first == ResKind::package) @@ -593,6 +593,7 @@ void Summary::dumpTo(ostream & out) writeChangedVendor(out); if (_viewop & SHOW_UNSUPPORTED) writeUnsupported(out); + out << endl; //! \todo write package counts writeDownloadAndInstalledSizeSummary(out); } -- 2.7.4