From dac70247f03c3596b54bae1ea0435646eb2776fc Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 30 Jul 2008 15:07:06 +0000 Subject: [PATCH] Fix bug 5041 http://bugzilla.lyx.org/show_bug.cgi?id=5041 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26002 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/MathMacro.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mathed/MathMacro.cpp b/src/mathed/MathMacro.cpp index ca3ec2298d..eefbfff2cc 100644 --- a/src/mathed/MathMacro.cpp +++ b/src/mathed/MathMacro.cpp @@ -133,8 +133,7 @@ Inset * MathMacro::clone() const docstring MathMacro::name() const { - if (displayMode_ == DISPLAY_UNFOLDED - && (name_.size() > 1 || (name_[0] != '_' && name_[0] != '^'))) + if (displayMode_ == DISPLAY_UNFOLDED && name_.size() != 1) return asString(cell(0)); return name_; -- 2.39.2