]> git.lyx.org Git - features.git/commitdiff
Forgot this one. I think Lars got the for() loop wrong.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Jan 2000 11:36:48 +0000 (11:36 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Jan 2000 11:36:48 +0000 (11:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@405 a592a061-630c-0410-9148-cb99ea01b6c8

src/buffer.C

index dfa419d17b56a7c2e20229808d6a903c34bcf853..19525c9d2d5210a8eec16dad97304664fd08da69 100644 (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]);
        }