Toggle wraparound logic ... I think it was the wrong way around
authorMark Tearle <mtearle@ucc.gu.uwa.edu.au>
Wed, 29 Sep 2004 09:30:38 +0000 (09:30 +0000)
committerMark Tearle <mtearle@ucc.gu.uwa.edu.au>
Wed, 29 Sep 2004 09:30:38 +0000 (09:30 +0000)
sql-edition/servers/HorizScroll.py

index b82d664..d27f7dc 100644 (file)
@@ -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)

UCC git Repository :: git.ucc.asn.au