Merge branch 'next' of http://github.com/erkin/ponysay into next

This commit is contained in:
Pablo Lezaeta 2012-12-05 11:44:41 -03:00
commit 0ba9e9eec5

View file

@ -814,7 +814,7 @@ class Ponysay():
## Make the columnisation nicer by letting the last row be partially empty rather than the last column ## Make the columnisation nicer by letting the last row be partially empty rather than the last column
diff = rows * cols - len(ponies) diff = rows * cols - len(ponies)
if diff > 2: if (diff > 2) and (rows > 1):
c = cols - 1 c = cols - 1
diff -= 1 diff -= 1
while diff > 0: while diff > 0: