From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QTG0g-0003CH-34 for garchives@archives.gentoo.org; Sun, 05 Jun 2011 16:17:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B73B21C213; Sun, 5 Jun 2011 16:16:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8394B1C213 for ; Sun, 5 Jun 2011 16:16:58 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2CB42AC01B for ; Sun, 5 Jun 2011 16:16:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 5D0D08003C for ; Sun, 5 Jun 2011 16:16:57 +0000 (UTC) From: "Paweł Hajdan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paweł Hajdan" Message-ID: <03dcfcf90388c8bb1e9fb8ecd58c96f9d74301bd.phajdan.jr@gentoo> Subject: [gentoo-commits] proj/arch-tools:master commit in: / X-VCS-Repository: proj/arch-tools X-VCS-Files: bugzilla-viewer.py X-VCS-Directories: / X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: Paweł Hajdan X-VCS-Revision: 03dcfcf90388c8bb1e9fb8ecd58c96f9d74301bd Date: Sun, 5 Jun 2011 16:16:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a7f8a6057d7e1ed5d5c82ab464fa7443 commit: 03dcfcf90388c8bb1e9fb8ecd58c96f9d74301bd Author: Pawel Hajdan, Jr gentoo org> AuthorDate: Sun Jun 5 16:16:30 2011 +0000 Commit: Pawe=C5=82 Hajdan gentoo org> CommitDate: Sun Jun 5 16:16:30 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/arch-tools.gi= t;a=3Dcommit;h=3D03dcfcf9 Fix an off-by-two error in contents pad scrolling routine. --- bugzilla-viewer.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bugzilla-viewer.py b/bugzilla-viewer.py index d04e6db..0891979 100755 --- a/bugzilla-viewer.py +++ b/bugzilla-viewer.py @@ -229,7 +229,7 @@ class MainWindow: self.contents_pad.addstr(i, 0, unicode_sanitize(output[i])) =20 def scroll_contents_pad(self, amount): - height =3D self.contents_pad_length - self.height + 5 + height =3D self.contents_pad_length - self.height + 3 =20 self.contents_pad_pos +=3D amount if self.contents_pad_pos < 0: