mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Correctly reinitialize ind when successive lines are to be indented.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31421 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1e0f34182e
commit
3f5c1bb73a
@ -966,7 +966,7 @@ vector<docstring> wrapToVec(docstring const & str, int ind,
|
||||
}
|
||||
retval.push_back(s.substr(0, i));
|
||||
s = indent + s.substr(i);
|
||||
ind = 0;
|
||||
ind = indent.size();
|
||||
}
|
||||
if (!s.empty())
|
||||
retval.push_back(s);
|
||||
|
Loading…
Reference in New Issue
Block a user