From: André Pönitz Date: Wed, 8 Aug 2001 16:25:30 +0000 (+0000) Subject: bring back some more red color... X-Git-Tag: 1.6.10~20889 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=252b1e560c17b4728d9878978d32f697d70d3846;p=features.git bring back some more red color... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2456 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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_);