commit 2dafc6af0d3df3df8f80168acdec6be4e6cb7c42
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Wed Dec 28 10:58:36 2022 +0100

    Fix indentation
---
 src/tex2lyx/Preamble.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 7b69bc4..98b95e8 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -2350,15 +2350,15 @@ void Preamble::parse(Parser & p, string const & 
forceclass,
                if (t.cs() == "babelfont") {
                        xetex = true;
                        h_use_non_tex_fonts = true;
-                        h_language_package = "babel";
+                       h_language_package = "babel";
                        if (h_inputencoding == "auto-legacy")
-                       p.setEncoding("UTF-8");
+                               p.setEncoding("UTF-8");
                        // we don't care about the lang option
                        string const lang = p.hasOpt() ? p.getArg('[', ']') : 
string();
-                        string const family = p.getArg('{', '}');
+                       string const family = p.getArg('{', '}');
                        string fontopts = p.hasOpt() ? p.getArg('[', ']') : 
string();
                        string const fontname = p.getArg('{', '}');
-                        if (lang.empty() && family == "rm") {
+                       if (lang.empty() && family == "rm") {
                                h_font_roman[1] = fontname;
                                if (!fontopts.empty()) {
                                        vector<string> opts = 
getVectorFromString(fontopts);
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to