doc typos

svn: r15026
This commit is contained in:
Raphael Ackermann
2010-04-04 11:58:34 +00:00
parent cc843399a6
commit e740d374a9

View File

@@ -56,7 +56,7 @@ def twips(cm):
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
# Rich Text Format Document interface. The current inteface does not # Rich Text Format Document interface. The current interface does not
# use style sheets. Instead it writes raw formatting. # use style sheets. Instead it writes raw formatting.
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
@@ -417,8 +417,8 @@ class RTFDoc(BaseDoc,TextDoc):
# Replace all LF's with space and reformat. # Replace all LF's with space and reformat.
line = line.replace('\n',' ') line = line.replace('\n',' ')
line = ' '.join(line.split()) line = ' '.join(line.split())
# If rememberd first char is LF, insert in front of lines # If remembered first char is LF, insert in front of lines
#This takes care of the case with even number of empry lines. #This takes care of the case with even number of empty lines.
if firstchar == '\n': if firstchar == '\n':
line = firstchar + line line = firstchar + line
#Insert LF's if not first line. #Insert LF's if not first line.