forked from openlp/openlp
Minor corrections
This commit is contained in:
parent
979ba02b02
commit
67ab01df01
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user