summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-21 12:56:47 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-21 12:56:47 -0800
commit102cb313bb296ae43595cc899c4f8d3b625fce69 (patch)
tree55ac4a7bf0f1dc8c0a471298c7aea38fa888adcc
parent661c5419c24a241b93a2a5079793329cba96f44b (diff)
It wasn't possible to turn a line into a curve by grabbing a point in the middle of the line and dragging it.
-rw-r--r--fontforge/splineutil2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fontforge/splineutil2.c b/fontforge/splineutil2.c
index a53e716f..9e718a4f 100644
--- a/fontforge/splineutil2.c
+++ b/fontforge/splineutil2.c
@@ -24,7 +24,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "fontforge.h"
+#include "pfaedit.h"
#include <math.h>
#include "ustring.h"
#include "chardata.h"
@@ -697,6 +697,7 @@ return( SplineMake2(from,to));
from->nextcp.x = (-xconst[1]-t_term[1]*to->prevcp.x)/f_term[1];
from->nextcp.y = (-yconst[1]-t_term[1]*to->prevcp.y)/f_term[1];
}
+ to->noprevcp = from->nonextcp = false;
return( SplineMake3(from,to));
}
}