summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-07 13:46:30 +0200
committerMichael Vogt <mvo@debian.org>2013-10-07 13:46:30 +0200
commit28e3b6f6f822a640aec35a41d5e99a97cfa1e9b1 (patch)
treea5f1741c251e7b9d905e187b744ea4a01379c199 /apt-pkg/deb
parent1c6089d72ddf59875fae4f281f023abba0d4fda0 (diff)
fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index a116db9cf..7d8c9b4e0 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -963,7 +963,7 @@ void pkgDPkgPM::SetupTerminalScrollArea(int nr_rows)
// scroll down a bit to avoid visual glitch when the screen
// area shrinks by one row
- std::cout << "\n\n";
+ std::cout << "\n";
// save cursor
std::cout << "\033[s";