Fix lyx2lyx problem connected with subfloats that prevented the User Guide from being exported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-11-12 01:17:47 +00:00
parent 3caeb344b8
commit 0ff926b77b

View File

@ -2186,7 +2186,7 @@ def revert_subfig(document):
if k == -1:
break
# is the subfloat aligned?
al = find_token(document.body, '\\align ', k - 1)
al = find_token(document.body, '\\align ', k - 1, j)
alignment_beg = ""
alignment_end = ""
if al != -1: