The branch, betterspacing, has been updated.

- Log -----------------------------------------------------------------

commit 278e3d5bf733f2e6f1eebeae5750cb9c57b8b91f
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Wed Nov 16 13:22:11 2016 +0100

    Fixup "Fixup: avoid spacing the text mode"

diff --git a/src/mathed/MathRow.cpp b/src/mathed/MathRow.cpp
index 3ca6d34..913dde6 100644
--- a/src/mathed/MathRow.cpp
+++ b/src/mathed/MathRow.cpp
@@ -64,10 +64,10 @@ MathRow::MathRow(MetricsInfo & mi, MathData const * ar)
        push_back(Element(END, mi));
        back().mclass = MC_CLOSE;
 
-       /* Avoid spacing in text-in-math mode. This test is a bit clumsy,
+       /* Do spacing only in math mode. This test is a bit clumsy,
         * but it is used in other places for guessing the current mode.
         */
-       if (isTextFont(mi.base.fontname))
+       if (!isMathFont(mi.base.fontname))
                return;
 
        // update classes

-----------------------------------------------------------------------

Summary of changes:
 src/mathed/MathRow.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Repository for new features

Reply via email to