* lyx_1_6.py:

- fix reversion of subfloats. Patch by Richard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@27396 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-11-12 10:42:44 +00:00
parent d95f306a89
commit c5602582e3

View File

@ -2191,7 +2191,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: