1 diff -ru wordaxe-1.0.1-orig/wordaxe/rl/NewParagraph.py wordaxe-1.0.1/wordaxe/rl/NewParagraph.py
2 --- wordaxe-1.0.1-orig/wordaxe/rl/NewParagraph.py 2010-04-15 10:34:19.000000000 -0300
3 +++ wordaxe-1.0.1/wordaxe/rl/NewParagraph.py 2010-04-15 10:37:11.000000000 -0300
7 self.height = sumHeight
8 - if sumHeight > availH:
9 + if sumHeight and sumHeight > availH:
10 #print id(self), "needs splitting"
11 #print "lines[-1]:", lines[-1]
12 #print "frags_remaining:", frags_remaining
15 #print id(self), "fits"
17 - assert self.height <= availH, (id(self), self.height, availH)
18 + #assert self.height <= availH, (id(self), self.height, availH)
19 self._cache['lines'] = lines
20 self._cache['unused'] = unused
21 self._cache['avail'] = (availW, availH)