From 551ede855ab5c60246cd318346465530a5733782 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Thu, 29 Jun 2023 05:31:41 -0400 Subject: [PATCH] Style and whitespace --- src/insets/InsetListings.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index f2b26f0d15..fa3834063f 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -405,14 +405,14 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const os << code << breakln << "\\end{lstlisting}\n"; } - if (encoding_switched){ + if (encoding_switched) { // Switch back switchEncoding(os.os(), buffer().params(), runparams, *save_enc, true, true); - if (!isInline) - // Go out of vertical mode. Otherwise \egroup - // causes a paragraph break (#12821) - os << "\\leavevmode"; + if (!isInline) + // Go out of vertical mode. Otherwise \egroup + // causes a paragraph break (#12821) + os << "\\leavevmode"; os << "\\egroup" << breakln; runparams.encoding = save_enc; }