From: Jean-Marc Lasgouttes Date: Thu, 6 Jan 2000 11:36:48 +0000 (+0000) Subject: Forgot this one. I think Lars got the for() loop wrong. X-Git-Tag: 1.6.10~22443 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9e8edf5307d705af746ed77aa815ff6392c6458b;p=features.git 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 --- diff --git a/src/buffer.C b/src/buffer.C index dfa419d17b..19525c9d2d 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -2481,7 +2481,7 @@ void Buffer::pop_tag(ostream & os, char const * tag, os << ""; // 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]); }