]> git.lyx.org Git - lyx.git/commitdiff
Amend f3b89e4: Use correct end-layout
authorKornel Benko <kornel@lyx.org>
Sat, 4 Aug 2018 05:51:53 +0000 (07:51 +0200)
committerKornel Benko <kornel@lyx.org>
Sat, 4 Aug 2018 05:51:53 +0000 (07:51 +0200)
Also correct indentation of innner values

src/Layout.cpp

index 7801e8fcb27f96c4f4b0dba7799e55c171290650..023af6518c7df37b92032095228326b00a34c529 100644 (file)
@@ -1434,14 +1434,14 @@ void Layout::write(ostream & os) const
                os << "\n\tEndAutoNests\n";
        }
        if (!autonested_by_.empty()) {
-               os << "\tIsAutoNestedBy\n\t";
+               os << "\tIsAutoNestedBy\n\t\t";
                for (set<docstring>::const_iterator it = autonested_by_.begin();
                     it != autonested_by_.end(); ++it) {
                        if (it != autonested_by_.begin())
                                os << ',';
                        os << to_utf8(*it);
                }
-               os << "\n\tIsAutoNestedBy\n";
+               os << "\n\tEndIsAutoNestedBy\n";
        }
        if (refprefix.empty())
                os << "\tRefPrefix OFF\n";