commit 28dd7b7de3527638ea8772815ec27439f87fddda
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Feb 4 17:24:16 2022 +0100

    Do not set open_font true if none was open
---
 src/Paragraph.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index a08f3ac..e29f268 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;
                        }
                }
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to