From 27fe24e45a4440bf02266544d19524f2877e48fd Mon Sep 17 00:00:00 2001 From: Mark Tearle Date: Wed, 29 Sep 2004 09:30:38 +0000 Subject: [PATCH] Toggle wraparound logic ... I think it was the wrong way around --- sql-edition/servers/HorizScroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1