summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-08 21:48:14 +0200
committerMichael Vogt <mvo@debian.org>2013-10-08 21:48:14 +0200
commit77fdc2a4de43144432ef9e74058634e94e45ef65 (patch)
tree4f19287a0e6c8b5898cd761ff7ad977ba6b5d3c6 /apt-pkg/deb
parent005d0bfcfbf6a016782a9854ac6f07e9881b5e74 (diff)
apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset
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 7d8c9b4e0..b4d812d26 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -1511,7 +1511,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
signal(SIGHUP,old_SIGHUP);
// reset scroll area
- SetupTerminalScrollArea(d->nr_terminal_rows);
+ SetupTerminalScrollArea(d->nr_terminal_rows + 1);
if(d->fancy_progress_output)
{
// override the progress line (sledgehammer)