From 27f4623b57ded381223ab3bf8b4b5bce7164b7f2 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 4 Nov 2010 21:40:01 +0000 Subject: [PATCH] Typos? Thinkos? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_2_0.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index d6ff97d5b9..a2f5ec2d42 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -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