]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_1_6.py
Prevent infinite loop.
[lyx.git] / 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