Patch was tested by Joost.

OK to commit (no mysterious constants here :) ? Both trunk and 1.4.x.

- Martin

Index: math_data.C
===================================================================
--- math_data.C (revision 13276)
+++ math_data.C (working copy)
@@ -393,7 +393,7 @@
         *   the right one.
         * See bug 1918 for details.    
         **/
-       if (it != begin()
+       if (it != begin() && currx >= targetx
            && ((*boost::prior(it))->asNestInset()
                || abs(lastx - targetx) < abs(currx - targetx))) {
                --it;

Attachment: pgpvdwOunmpXs.pgp
Description: PGP signature

Reply via email to