]> git.lyx.org Git - lyx.git/commitdiff
EndNests in Layout::write()
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 28 Dec 2017 16:56:48 +0000 (17:56 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 28 Dec 2017 16:56:48 +0000 (17:56 +0100)
src/Layout.cpp

index 4f7f215b707b53839c932889e76499f2b5180b7a..2f9c867e3311e0163575d58db8aa0ef78742c8d1 100644 (file)
@@ -1401,14 +1401,14 @@ void Layout::write(ostream & os) const
                os << '\n';
        }
        if (!nests_.empty()) {
-               os << "\tNests ";
+               os << "\tNests\n\t";
                for (set<docstring>::const_iterator it = nests_.begin();
                     it != nests_.end(); ++it) {
                        if (it != nests_.begin())
                                os << ',';
                        os << to_utf8(*it);
                }
-               os << '\n';
+               os << "\n\tEndNests\n";
        }
        if (refprefix.empty())
                os << "\tRefPrefix OFF\n";