Skip to content
Snippets Groups Projects
Commit 27fe24e4 authored by Mark Tearle's avatar Mark Tearle
Browse files

Toggle wraparound logic ... I think it was the wrong way around

parent fdc14817
No related merge requests found
......@@ -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)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment