summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-21 22:52:54 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-21 22:52:54 +0000
commit8c61c38fde0aaef9ca74465710bb6e86c83e02ad (patch)
treeea6cfa7cb5b9581c7e71a4f0d4e2dfc5e19d99e1
parentCommitted aho's lorem ipsum script and makefiles around (diff)
downloadinkscape-8c61c38fde0aaef9ca74465710bb6e86c83e02ad.tar.gz
inkscape-8c61c38fde0aaef9ca74465710bb6e86c83e02ad.zip
updated ipsum extension
(bzr r1624)
-rw-r--r--AUTHORS1
-rw-r--r--share/extensions/lorem_ipsum.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 7ff7495fd..90c96ac0f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -82,3 +82,4 @@ Michael Wybrow
Daniel Yacob
David Yip
Masatake Yamato
+Jos Hirth
diff --git a/share/extensions/lorem_ipsum.py b/share/extensions/lorem_ipsum.py
index 3f39caa92..e71b2adcc 100644
--- a/share/extensions/lorem_ipsum.py
+++ b/share/extensions/lorem_ipsum.py
@@ -191,7 +191,7 @@ class MyEffect(inkex.Effect):
def makePara(self):
_min=max(1,self.options.sentencecount-self.options.fluctuation)
- _max=max(2,self.options.sentencecount+2*self.options.fluctuation)
+ _max=max(2,self.options.sentencecount+self.options.fluctuation)
scount=random.randint(_min,_max)
text=''
for i in range(scount):