From: Richard Heck Date: Tue, 2 Nov 2010 14:55:33 +0000 (+0000) Subject: Prevent infinite loop. X-Git-Tag: 2.0.0~2116 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d7c31dfff3d647b6b16942f0f8c001966a470a4c;p=features.git Prevent infinite loop. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35996 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index 562f32946b..8a33eaace7 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -472,6 +472,7 @@ def revert_ltcaption(document): j = find_end_of_inset(document.body, i + 1) if j == -1: document.warning("Malformed LyX document: Could not find end of tabular.") + i += 1 continue m = i + 1