]> git.lyx.org Git - features.git/commitdiff
Typos? Thinkos?
authorRichard Heck <rgheck@comcast.net>
Thu, 4 Nov 2010 21:40:01 +0000 (21:40 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 4 Nov 2010 21:40:01 +0000 (21:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py

index d6ff97d5b965a3c8f8db0ce8af80ea85f56ad972..a2f5ec2d42b85309bf2b50d280851dab7fc94bd0 100644 (file)
@@ -1779,12 +1779,14 @@ def revert_mathdots(document):
         usedots = int(val)
       except:
         document.warning("Invalid \\use_mathdots value: " + val)
+        # probably usedots has not been changed, but be safe.
+        usedots = 1
 
-    if mathdots == 0:
+    if usedots == 0:
       # do not load case
       return
   
-    if mathdots == 2:
+    if usedots == 2:
       # force load case
       add_to_preamble(["% lyx2lyx mathdots addition", "\\usepackage{mathdots}"])
       return