]> git.lyx.org Git - features.git/commitdiff
* indention fix
authorStefan Schimanski <sts@lyx.org>
Sun, 23 Dec 2007 16:33:34 +0000 (16:33 +0000)
committerStefan Schimanski <sts@lyx.org>
Sun, 23 Dec 2007 16:33:34 +0000 (16:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22284 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/preamble.cpp
src/tex2lyx/text.cpp

index 90c97d03a3010ac40f736231096a1abf100a9ecb..3813a36bf66b734d09bab2ce81252b729c44eacf 100644 (file)
@@ -462,9 +462,9 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla
                }
 
                else if (t.cs() == "newcommand" 
-                                                || t.cs() == "renewcommand"
-                                                || t.cs() == "providecommand"
-                                                || t.cs() == "newlyxcommand") {
+                        || t.cs() == "renewcommand"
+                        || t.cs() == "providecommand"
+                        || t.cs() == "newlyxcommand") {
                        bool star = false;
                        if (p.next_token().character() == '*') {
                                p.get_token();
index 390e445179e70fcc7b3fe94d6ad9bb9e92f5dd19..fbc89d3f0bb731781048afce155141611c8a65fa 100644 (file)
@@ -2380,9 +2380,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                }
 
                else if (t.cs() == "newcommand" ||
-                                                t.cs() == "providecommand" ||
-                                                t.cs() == "renewcommand" ||
-                                                t.cs() == "newlyxcommand") {
+                        t.cs() == "providecommand" ||
+                        t.cs() == "renewcommand" ||
+                        t.cs() == "newlyxcommand") {
                        // these could be handled by parse_command(), but
                        // we need to call add_known_command() here.
                        string name = t.asInput();