From 28dd7b7de3527638ea8772815ec27439f87fddda Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 4 Feb 2022 17:24:16 +0100 Subject: [PATCH] Do not set open_font true if none was open --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index a08f3ac007..e29f268e66 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2894,7 +2894,7 @@ void Paragraph::latex(BufferParams const & bparams, } } else { running_font = current_font; - open_font = !langClosed; + open_font &= !langClosed; } }