]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_bigopinset.C
small cleanups
[features.git] / src / mathed / math_bigopinset.C
index cda49613db69e6c983c9fb801ce34c0eb63e4af1..a6dbc948c605a686672f08b7edba3379c885a8f6 100644 (file)
@@ -32,10 +32,10 @@ void MathBigopInset::writeNormal(ostream & os) const
 
 void MathBigopInset::metrics(MathStyles st)
 {
-       //cerr << "\nBigopDraw\n";
+       //cerr << "\nBigopDraw: " << name_ << ": " << sym_ << "\n";
        size(st);
        
-       if (sym_ < 256 || sym_ == LM_oint) {
+       if (sym_ && (sym_ < 256 || sym_ == LM_oint)) {
                ssym_ = string();
                ssym_ += (sym_ == LM_oint) ? LM_int : sym_;
                code_ = LM_TC_BSYM;