Code

updated ipsum extension
authorkidproto <kidproto@users.sourceforge.net>
Mon, 21 Aug 2006 22:52:54 +0000 (22:52 +0000)
committerkidproto <kidproto@users.sourceforge.net>
Mon, 21 Aug 2006 22:52:54 +0000 (22:52 +0000)
AUTHORS
share/extensions/lorem_ipsum.py

diff --git a/AUTHORS b/AUTHORS
index 7ff7495fdad780a5c7a7964db49f5510fe5e4443..90c96ac0f88e2d7b48909e6420e5162287faf4a7 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -82,3 +82,4 @@ Michael Wybrow
 Daniel Yacob
 David Yip
 Masatake Yamato
+Jos Hirth
index 3f39caa9244a13653f09c59f0f88d2196718a0ef..e71b2adcc643a7ab3d8a33a09b4149618ab79e5a 100644 (file)
@@ -191,7 +191,7 @@ class MyEffect(inkex.Effect):
 \r
   def makePara(self):\r
     _min=max(1,self.options.sentencecount-self.options.fluctuation)\r
-    _max=max(2,self.options.sentencecount+2*self.options.fluctuation)\r
+    _max=max(2,self.options.sentencecount+self.options.fluctuation)\r
     scount=random.randint(_min,_max)\r
     text=''\r
     for i in range(scount):\r