mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix a tautological condition.
This commit is contained in:
parent
24a709ce22
commit
f6405ef853
@ -130,7 +130,7 @@ public:
|
|||||||
}
|
}
|
||||||
// Explicitly match the cases with an empty output. This ensures that we catch at runtime
|
// Explicitly match the cases with an empty output. This ensures that we catch at runtime
|
||||||
// invalid values for the enum while keeping compile-time warnings.
|
// invalid values for the enum while keeping compile-time warnings.
|
||||||
if (span_class.empty() && (family_ != MATH_NORMAL_FAMILY || family_ != MATH_DOUBLE_STRUCK_FAMILY)) {
|
if (span_class.empty() && (family_ == MATH_NORMAL_FAMILY || family_ == MATH_DOUBLE_STRUCK_FAMILY)) {
|
||||||
LYXERR(Debug::MATHED,
|
LYXERR(Debug::MATHED,
|
||||||
"Unexpected case in MathFontInfo::toHTMLSpanClass: family_ = " << family_
|
"Unexpected case in MathFontInfo::toHTMLSpanClass: family_ = " << family_
|
||||||
<< ", series = " << series_ << ", shape = " << shape_);
|
<< ", series = " << series_ << ", shape = " << shape_);
|
||||||
|
Loading…
Reference in New Issue
Block a user