Minor corrections

This commit is contained in:
Tim Bentley 2009-10-22 20:07:32 +01:00
parent 979ba02b02
commit 67ab01df01

View File

@ -173,7 +173,6 @@ class Renderer(object):
page = []
split_lines = []
for line in text:
split = False
#Must be a blank line so keep it.
if len(line) == 0:
line = u' '
@ -197,6 +196,7 @@ class Renderer(object):
split_text = line[:pos]
split_lines.append(split_text)
line = line[pos:]
#if we have more text add up to 10 spaces on the front.
if len(line) > 0 :
line = u'%s%s' % \
(u' '[:self._theme.font_main_indentation], line)