Forgot this one. I think Lars got the for() loop wrong.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-01-06 11:36:48 +00:00
parent 69c0db9984
commit 9e8edf5307

View File

@ -2481,7 +2481,7 @@ void Buffer::pop_tag(ostream & os, char const * tag,
os << "</" << tag << ">";
// push all tags, but the specified one
for (int i = i + 1; i <= pos; ++i) {
for (int i = 0; i <= pos; ++i) {
os << "<" << stack[i] << ">";
strcpy(stack[i - 1], stack[i]);
}