From 2dafc6af0d3df3df8f80168acdec6be4e6cb7c42 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 28 Dec 2022 10:58:36 +0100 Subject: [PATCH] Fix indentation --- src/tex2lyx/Preamble.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 7b69bc4db5..98b95e8267 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 opts = getVectorFromString(fontopts); -- 2.39.5