From 252b1e560c17b4728d9878978d32f697d70d3846 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 8 Aug 2001 16:25:30 +0000 Subject: [PATCH] bring back some more red color... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2456 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_scriptinset.C | 2 +- src/mathed/math_symbolinset.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index 073593a48b..a22a88296a 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -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; diff --git a/src/mathed/math_symbolinset.C b/src/mathed/math_symbolinset.C index 1afc2938aa..c35fd61b12 100644 --- a/src/mathed/math_symbolinset.C +++ b/src/mathed/math_symbolinset.C @@ -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_); -- 2.39.2