From deb86513df94264d2cde1dde154a988ede9b57e5 Mon Sep 17 00:00:00 2001 From: Dov Feldstern Date: Sat, 16 Feb 2008 18:39:20 +0000 Subject: [PATCH] Fix typing of digits in RTL text, which was broken way back during the Font/Language separation (r21240). The problem was that when typing a digit in RTL text, the language was being switched to LTR, which is wrong. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23037 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index d5c1051080..5d3246fa52 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -374,7 +374,7 @@ void Text::number(Cursor & cur) { FontInfo font = ignore_font; font.setNumber(FONT_TOGGLE); - toggleAndShow(cur, this, Font(font)); + toggleAndShow(cur, this, Font(font, ignore_language)); } -- 2.39.5