diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-03-28 22:44:14 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-03-28 22:44:14 +0000 |
commit | 18c6805255aedbffee721bc444fe9bebd3ad4c64 (patch) | |
tree | 38924f720481eadccd4357613521ef205165aa3e /graphics/xmrm/files/patch-af | |
parent | 5fe1f019d30adf27c75b1c7c7489200acaa41041 (diff) | |
download | ports-18c6805255aedbffee721bc444fe9bebd3ad4c64.tar.gz ports-18c6805255aedbffee721bc444fe9bebd3ad4c64.zip |
Notes
Diffstat (limited to 'graphics/xmrm/files/patch-af')
-rw-r--r-- | graphics/xmrm/files/patch-af | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/xmrm/files/patch-af b/graphics/xmrm/files/patch-af new file mode 100644 index 000000000000..175c7abc11db --- /dev/null +++ b/graphics/xmrm/files/patch-af @@ -0,0 +1,30 @@ +--- 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 <floatingpoint.h> + + //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) |