commit cd37ddc52c3dacd7de93482f67cc77a3328af4c8
Author: Juergen Spitzmueller <[email protected]>
Date:   Wed Nov 23 12:28:59 2022 +0100

    Fix crash when using Hebrew (bug 12464)
---
 src/output_latex.cpp |    2 +-
 status.23x           |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index eae5b3c..5fb8c8d 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -1575,7 +1575,7 @@ void latexParagraphs(Buffer const & buf,
                        << '\n';
                // If we have language_auto_begin, the stack will
                // already be empty, nothing to pop()
-               if (using_begin_end && !lyxrc.language_auto_begin)
+               if (using_begin_end && langOpenedAtThisLevel(state))
                        popLanguageName();
        }
 
diff --git a/status.23x b/status.23x
index 1c76684..8755880 100644
--- a/status.23x
+++ b/status.23x
@@ -107,6 +107,8 @@ What's new
 
 - Fix crash in tabular when resetting font (bug 12566).
 
+- Fix crash when using Hebrew (bug 12464).
+
 - On screen, show upper case greek letters in \mathbf as bold (bug 3751).
 
 - Fix coloring of text-mode material in math equations (bug 11007).
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to