From: Richard Heck Date: Thu, 4 Nov 2010 21:40:01 +0000 (+0000) Subject: Typos? Thinkos? X-Git-Tag: 2.0.0~2023 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=27f4623b57ded381223ab3bf8b4b5bce7164b7f2;p=features.git Typos? Thinkos? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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