Fix crash when using Hebrew (bug 12464)

This commit is contained in:
Juergen Spitzmueller 2022-11-23 12:28:59 +01:00
parent 693112b3c2
commit cd37ddc52c
2 changed files with 3 additions and 1 deletions

View File

@ -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();
}

View File

@ -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).