mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
69c0db9984
commit
9e8edf5307
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user