The branch, betterspacing, has been updated. - Log -----------------------------------------------------------------
commit 7f785596f0422201a4fe758ec0cfb3c2311bade5 Author: Jean-Marc Lasgouttes <[email protected]> Date: Wed Nov 16 10:50:36 2016 +0100 Fixup: better code for InsetMathScript::mathClass Thanks to Guillaume diff --git a/src/mathed/InsetMathScript.cpp b/src/mathed/InsetMathScript.cpp index 4ea4aa3..4209215 100644 --- a/src/mathed/InsetMathScript.cpp +++ b/src/mathed/InsetMathScript.cpp @@ -282,7 +282,7 @@ MathClass InsetMathScript::mathClass() const return MC_ORD; else // return the class of last element since this is the one that counts. - return cell(0)[cell(0).size() - 1]->mathClass(); + return nuc().back()->mathClass(); } ----------------------------------------------------------------------- Summary of changes: src/mathed/InsetMathScript.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- Repository for new features
