From 2e58f174f70543d4e8da74c5f04371fd06f051b2 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sat, 16 Oct 1999 19:58:22 +0000 Subject: Changed the sgi -woff pragma to the new #define suggested by Michael Sweet. Cast in draw_pixmap that produced an error in the OSF1 compiler fixed. Error in emulation of GLUT_KEY_F?() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/glut_compatability.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/glut_compatability.cxx') diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index 33e7144e3..bf05979c9 100755 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -1,5 +1,5 @@ // -// "$Id: glut_compatability.cxx,v 1.4.2.1 1999/03/18 20:04:13 bill Exp $" +// "$Id: glut_compatability.cxx,v 1.4.2.2 1999/10/16 19:58:22 bill Exp $" // // GLUT emulation routines for the Fast Light Tool Kit (FLTK). // @@ -127,7 +127,7 @@ int Fl_Glut_Window::handle(int event) { } else { if (special) { int i = Fl::event_key(); - if (i >= FL_F && i < FL_F_Last) i = i-FL_F+1; + if (i > FL_F && i <= FL_F_Last) i = i-FL_F; special(i,ex,ey); return 1; } @@ -399,5 +399,5 @@ int glutLayerGet(GLenum type) { #endif // -// End of "$Id: glut_compatability.cxx,v 1.4.2.1 1999/03/18 20:04:13 bill Exp $". +// End of "$Id: glut_compatability.cxx,v 1.4.2.2 1999/10/16 19:58:22 bill Exp $". // -- cgit v1.2.3