This commit is contained in:
Kovid Goyal 2007-05-23 17:53:59 +00:00
parent 5ecdb79f5c
commit 97b3d29c2f

View File

@ -326,7 +326,7 @@ class Table(object):
if psum > 100: if psum > 100:
adjustable_columns.append(i) adjustable_columns.append(i)
else: else:
widths[i] = (wp/100.) * (maxwidth - (cols-1)*self.colpad) widths[i] = ceil((wp/100.) * (maxwidth - (cols-1)*self.colpad))
else: else:
adjustable_columns.append(i) adjustable_columns.append(i)