]> git.lyx.org Git - features.git/commitdiff
bring back some more red color...
authorAndré Pönitz <poenitz@gmx.net>
Wed, 8 Aug 2001 16:25:30 +0000 (16:25 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 8 Aug 2001 16:25:30 +0000 (16:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2456 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_scriptinset.C
src/mathed/math_symbolinset.C

index 073593a48b694003e66266a9dc305d8a995d19f6..a22a88296a6ff846912926e9e0b6c4fccad02787 100644 (file)
@@ -247,7 +247,7 @@ void MathScriptInset::metrics(MathStyles st) const
                        symbol_->metrics(st);
                        wid  = symbol_->width();
                        asc  = symbol_->ascent();
-                       des = symbol_->descent();
+                       des  = symbol_->descent();
                }
                ascent_  = up()   ? xcell(0).height() + asc : 0;
                descent_ = down() ? xcell(1).height() + des : 0;
index 1afc2938aa6b321b0623b84a9b41d1a828c0eb9e..c35fd61b12830ebd7aba254f1a59157b4fa9bc81 100644 (file)
@@ -38,7 +38,7 @@ void MathSymbolInset::metrics(MathStyles st) const
                code_ = (sym_->token == LM_TK_BIGSYM) ? LM_TC_BSYM : LM_TC_SYMB;
        } else {
                ssym_ = sym_->name;
-               code_ = LM_TC_TEXTRM;
+               code_ = LM_TC_TEX;
        }
 
        mathed_string_dim(code_, size(), ssym_, ascent_, descent_, width_);