--- morphvec.cc.orig Mon Mar 9 17:00:00 1998 +++ morphvec.cc Tue Mar 28 15:31:48 2000 @@ -9,6 +9,7 @@ #include "io.h" #include "xmrm.h" //#include "areas.h" +#include //static int oneliner = 1; @@ -17,7 +18,7 @@ extern Display *disp; -extern max_x,max_y; +extern int max_x,max_y; extern ControlClass control; extern VisualInfoClass vis; extern WindowClass *s_win, *d_win; @@ -433,6 +434,10 @@ void MorphVecClass::DrawVectorScal(FL_OBJECT *obj, int item, int mode, FL_COLOR col) { double sc_x,sc_y; + + /* don't exit on FPE */ + fpsetmask(0); + sc_x = (double) obj->w / max_x; sc_y = (double) obj->h / max_y; if (item > nr_vec)