* src/docgen/RTFDoc.py: Fixed double printing of lines

svn: r2175
This commit is contained in:
Don Allingham 2003-09-27 19:41:39 +00:00
parent 0be880ccec
commit c937ff4976

View File

@ -202,9 +202,9 @@ class RTFDoc(BaseDoc.BaseDoc):
self.f.write(self.text)
if self.opened:
self.f.write('}')
self.text = ""
self.opened = 0
self.f.write('\n\\par')
self.text = ""
else:
if self.text == "":
self.write_text(" ")