X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2Flyx_1_6.py;h=8a33eaace795b63508bd4aea6a506df195dc17d2;hb=d7c31dfff3d647b6b16942f0f8c001966a470a4c;hp=562f32946bcef81216f61757e8e2d703b472b5d1;hpb=4645e3c56fe9aebd04cf73119f54a1b7420a726f;p=lyx.git 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