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:
Enrico Forestieri 2009-09-20 22:58:55 +00:00
parent 1e0f34182e
commit 3f5c1bb73a

View File

@ -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);