diff options
| author | Jon Phillips <jon@fabricatorz.com> | 2006-08-21 22:52:54 +0000 |
|---|---|---|
| committer | kidproto <kidproto@users.sourceforge.net> | 2006-08-21 22:52:54 +0000 |
| commit | 8c61c38fde0aaef9ca74465710bb6e86c83e02ad (patch) | |
| tree | ea6cfa7cb5b9581c7e71a4f0d4e2dfc5e19d99e1 | |
| parent | Committed aho's lorem ipsum script and makefiles around (diff) | |
| download | inkscape-8c61c38fde0aaef9ca74465710bb6e86c83e02ad.tar.gz inkscape-8c61c38fde0aaef9ca74465710bb6e86c83e02ad.zip | |
updated ipsum extension
(bzr r1624)
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | share/extensions/lorem_ipsum.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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):
|
