aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-21 04:45:05 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-21 04:45:05 +0200
commit6088f793691f22c5308e9435f91a12c4c3869f7e (patch)
tree47b64c827b1a75a6ebd89394e71f2c39abc918c1 /ponysay
parent52fe45889ad432917336d2eb72397aa6ebd11c82 (diff)
downloadponysay-6088f793691f22c5308e9435f91a12c4c3869f7e.tar.gz
ponysay-6088f793691f22c5308e9435f91a12c4c3869f7e.tar.bz2
ponysay-6088f793691f22c5308e9435f91a12c4c3869f7e.zip
never wrap less than 8
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 2 insertions, 0 deletions
diff --git a/ponysay b/ponysay
index a843572..1f99579 100755
--- a/ponysay
+++ b/ponysay
@@ -958,6 +958,8 @@ class Backend():
wrap = None
if self.wrapcolumn is not None:
wrap = self.wrapcolumn - left
+ if wrap < 8:
+ wrap = 8
msg = self.message
if wrap is not None: