]> git.lyx.org Git - features.git/commitdiff
Style.
authorRichard Heck <rgheck@comcast.net>
Tue, 6 Jul 2010 13:38:27 +0000 (13:38 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 6 Jul 2010 13:38:27 +0000 (13:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34782 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py

index 1c95503f5125c422c412babc53f99fedcaf8cb21..6c1d1bda5b9b50494d146974106fe4da15a4c6d0 100644 (file)
@@ -333,7 +333,7 @@ def revert_charstyles(document, name, LaTeXname, changed):
     k = find_token(document.body, name + ' on', i + 1)
     # if there is no default set, the style ends with the layout
     # assure hereby that we found the correct layout end
-    if j != -1 and (j < k or k ==-1):
+    if j != -1 and (j < k or k == -1):
       document.body[j:j+1] = put_cmd_in_ert("}")
     else:
       j = find_token(document.body, '\\end_layout', i)