]> git.lyx.org Git - features.git/commitdiff
Prevent infinite loop.
authorRichard Heck <rgheck@comcast.net>
Tue, 2 Nov 2010 14:55:33 +0000 (14:55 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 2 Nov 2010 14:55:33 +0000 (14:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35996 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

index 562f32946bcef81216f61757e8e2d703b472b5d1..8a33eaace795b63508bd4aea6a506df195dc17d2 100644 (file)
@@ -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