]> git.lyx.org Git - features.git/commitdiff
Minor fixes
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 3 Nov 2018 14:00:48 +0000 (10:00 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 3 Nov 2018 14:00:48 +0000 (10:00 -0400)
lib/lyx2lyx/lyx_2_4.py

index 1a0651473945b05077341423324e085cb6943b10..73fbdf66e727582a7ee4e8e00f9f8a7e251e76cf 100644 (file)
@@ -1389,13 +1389,13 @@ def convert_hebrew_parentheses(document):
             current_language = line[len('\\lang '):]
         elif line.startswith('\\end_layout'):
             current_language = document.language
-        if current_language == 'hebrew' and not line.startswith('\\'):
+        elif current_language == 'hebrew' and not line.startswith('\\'):
             document.body[i] = line.replace('(','\x00').replace(')','(').replace('\x00',')')
 
 
 def revert_hebrew_parentheses(document):
     " Store parentheses in Hebrew text reversed"
-    # This only exists to keep the convert/revert nameing convention
+    # This only exists to keep the convert/revert naming convention
     convert_hebrew_parentheses(document)