fix two typos converting frenchb (Thanks to Georg)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2005-07-18 14:46:53 +00:00
parent 1e65605e25
commit 54502b890e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-07-18 José Matos <jamatos@lyx.org>
* lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
2005-07-18 José Matos <jamatos@lyx.org>
* lyx_1_4.py (convert_french): convert language also in the body.

View File

@ -1858,13 +1858,13 @@ def convert_french(file):
file.header[i] = "\\language french"
# Change language in the document body
regexp = re.compile(r'^\\lang\s+frenchb')
regexp = re.compile(r'^\\lang\s+frenchb')
i = 0
while 1:
i = find_re(file.body, regexp, i)
if i == -1:
break
file.body[i] = "\\language french"
file.body[i] = "\\lang french"
i = i + 1