From 4c4299d1a56435e42f7eea2f3b138197d2b67b2a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 24 Oct 2007 11:24:53 +0000 Subject: [PATCH] bug fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21177 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index b760c9df0e..a2253db71a 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2618,7 +2618,7 @@ void Paragraph::changeCase(BufferParams const & bparams, pos_type pos, char_type newChar = oldChar; // ignore insets and don't play with deleted text! - if (isInset(pos) && !isDeleted(pos)) { + if (oldChar != META_INSET && !isDeleted(pos)) { switch (action) { case text_lowercase: newChar = lowercase(oldChar);