Fix bug 5122. Silly mistake.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26066 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-08-05 14:33:42 +00:00
parent 4d506d21b6
commit be3171e15e

View File

@ -663,7 +663,7 @@ def revert_long_charstyle_names(document):
i = find_token(document.body, "\\begin_inset CharStyle", i) i = find_token(document.body, "\\begin_inset CharStyle", i)
if i == -1: if i == -1:
return return
document.body[i] = document.body[i].replace("CharStyle CharStyle:", "CharStyle") document.body[i] = document.body[i].replace("CharStyle CharStyle:", "CharStyle ")
i += 1 i += 1