forked from openlp/openlp
Minor corrections
This commit is contained in:
parent
979ba02b02
commit
67ab01df01
@ -173,7 +173,6 @@ class Renderer(object):
|
|||||||
page = []
|
page = []
|
||||||
split_lines = []
|
split_lines = []
|
||||||
for line in text:
|
for line in text:
|
||||||
split = False
|
|
||||||
#Must be a blank line so keep it.
|
#Must be a blank line so keep it.
|
||||||
if len(line) == 0:
|
if len(line) == 0:
|
||||||
line = u' '
|
line = u' '
|
||||||
@ -197,6 +196,7 @@ class Renderer(object):
|
|||||||
split_text = line[:pos]
|
split_text = line[:pos]
|
||||||
split_lines.append(split_text)
|
split_lines.append(split_text)
|
||||||
line = line[pos:]
|
line = line[pos:]
|
||||||
|
#if we have more text add up to 10 spaces on the front.
|
||||||
if len(line) > 0 :
|
if len(line) > 0 :
|
||||||
line = u'%s%s' % \
|
line = u'%s%s' % \
|
||||||
(u' '[:self._theme.font_main_indentation], line)
|
(u' '[:self._theme.font_main_indentation], line)
|
||||||
|
Loading…
Reference in New Issue
Block a user