commit 42a30357091d8483342a4f52260a2d2c6d80c980
Author: Enrico Forestieri <[email protected]>
Date: Wed Oct 5 01:31:14 2016 +0200
Amend ccc0e03f
Better adding the break, even if falling through would be Ok,
as LyX requires xcolor when both xcolor and color are requested.
---
src/mathed/InsetMathColor.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mathed/InsetMathColor.cpp b/src/mathed/InsetMathColor.cpp
index cbf6cb5..0a6d0aa 100644
--- a/src/mathed/InsetMathColor.cpp
+++ b/src/mathed/InsetMathColor.cpp
@@ -88,8 +88,10 @@ void InsetMathColor::validate(LaTeXFeatures & features) const
case Color_teal:
case Color_violet:
features.require("xcolor");
+ break;
default:
features.require("color");
+ break;
}
}
}