[LyX/master] Pass proper font
Juergen Spitzmueller
spitz at lyx.org
Wed Aug 12 11:40:04 UTC 2020
commit 008766fe4e4f6dc4b10ea90f7c9d4a2142e8da3b
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Wed Aug 12 14:05:22 2020 +0200
Pass proper font
---
src/Paragraph.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index e4b774d..8da3d13 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1044,7 +1044,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
|| basefont.isRightToLeft() == running_font.isRightToLeft();
unsigned int count = running_font.latexWriteStartChanges(os, bparams,
runparams, basefont,
- basefont, true);
+ running_font, true);
column += count;
// if any font properties were closed, update the running_font,
// making sure, however, to leave the language as it was
More information about the lyx-cvs
mailing list