git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21177 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-24 11:24:53 +00:00
parent a003a0da8b
commit 4c4299d1a5

View File

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