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-Tag: IMPORT-FROM-UCCCVS~61 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=27fe24e45a4440bf02266544d19524f2877e48fd;p=uccvend-vendserver.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)