mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #7873. Patch is sufficiently explanatory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40212 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
14c10e40a8
commit
eef5148a49
@ -445,8 +445,11 @@ void Text::setLabelWidthStringToSequence(pit_type const par_offset,
|
||||
depth_type const depth = pars_[offset].getDepth();
|
||||
Layout const & layout = pars_[offset].layout();
|
||||
for (pit_type pit = offset; pit != end; ++pit) {
|
||||
while (pars_[pit].getDepth() > depth)
|
||||
while (pars_[pit].getDepth() > depth) {
|
||||
++pit;
|
||||
if (pit == end)
|
||||
return;
|
||||
}
|
||||
if (pars_[pit].getDepth() < depth)
|
||||
return;
|
||||
if (pars_[pit].layout() != layout)
|
||||
|
Loading…
Reference in New Issue
Block a user