tables.py: fix for spanFixDim contributed by Tomasz Swiderski contact@tomaszswiderski.com
authorrgbecker
Mon, 06 Sep 2010 16:44:08 +0000
changeset 3432 04c84c2ef968
parent 3431 b92783cd5a73
child 3433 0562ca2f5155
tables.py: fix for spanFixDim contributed by Tomasz Swiderski contact@tomaszswiderski.com
src/reportlab/platypus/tables.py
--- a/src/reportlab/platypus/tables.py	Mon Sep 06 15:00:23 2010 +0000
+++ b/src/reportlab/platypus/tables.py	Mon Sep 06 16:44:08 2010 +0000
@@ -206,7 +206,7 @@
         v -= t
         v /= float(len(X))
         for x in X:
-            M[x] = max(M.get(x,v),v)
+            M[x] = M.get(x,0)+v
     for x,v in M.iteritems():
         V[x] += v