commit 551ede855ab5c60246cd318346465530a5733782
Author: Scott Kostyshak <skost...@lyx.org>
Date:   Thu Jun 29 05:31:41 2023 -0400

    Style and whitespace
---
 src/insets/InsetListings.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp
index f2b26f0..fa38340 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;
        }
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to