Fix rendering bug

This commit is contained in:
Tim Bentley 2009-10-23 18:09:09 +01:00
parent 6c5ccc101b
commit 4c35fc81a5
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class Renderer(object):
#if we have more text add up to 10 spaces on the front.
if len(line) > 0 and self._theme.font_main_indentation > 0:
line = u'%s%s' % \
(u' '[:self._theme.font_main_indentation], line)
(u' '[:int(self._theme.font_main_indentation)], line)
#Text fits in a line now
for count, line in enumerate(split_lines):
page.append(line)