From: Mark Tearle Date: Wed, 29 Sep 2004 09:30:38 +0000 (+0000) Subject: Toggle wraparound logic ... I think it was the wrong way around X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=96881f6a44a3ceb1f0c6f4e5d69918ba3fa04053;p=zanchey%2Fdispense2.git Toggle wraparound logic ... I think it was the wrong way around --- diff --git a/sql-edition/servers/HorizScroll.py b/sql-edition/servers/HorizScroll.py index b82d664..d27f7dc 100644 --- a/sql-edition/servers/HorizScroll.py +++ b/sql-edition/servers/HorizScroll.py @@ -19,7 +19,7 @@ class HorizScroll: format = "%-" + str(padding) + "." + str(padding) + "s" pad = string.replace(format % " "," ",paddingchar) padtext = self.text + pad - if wraparound: + if not wraparound: numiters = len(self.text) - 10 else: numiters = len(padtext)