diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-03-18 20:04:13 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-03-18 20:04:13 +0000 |
| commit | 2eafe965c949ccbc8c992e1f978298dff63113ae (patch) | |
| tree | e50185abf94e1dc6d90a1664c7fbd4618a61d6de /src/glut_compatability.cxx | |
| parent | 4163d5b5addeaa2cf68d2e0fc829ee80dac35a63 (diff) | |
Changes from Luis Ibanez to make it compile under Borland.
Includes a real bug that was in Fl_Gl_Window.c (#if WIN32)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/glut_compatability.cxx')
| -rwxr-xr-x | src/glut_compatability.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index c6eece2ce..33e7144e3 100755 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -1,5 +1,5 @@ // -// "$Id: glut_compatability.cxx,v 1.4 1999/01/07 19:17:46 mike Exp $" +// "$Id: glut_compatability.cxx,v 1.4.2.1 1999/03/18 20:04:13 bill Exp $" // // GLUT emulation routines for the Fast Light Tool Kit (FLTK). // @@ -92,7 +92,7 @@ int Fl_Glut_Window::handle(int event) { break; case FL_RELEASE: - for (button = 0; button < 3; button++) if (mouse_down & 1<<button) { + for (button = 0; button < 3; button++) if (mouse_down & (1<<button)) { if (mouse) mouse(button,GLUT_UP,ex,ey); } mouse_down = 0; @@ -399,5 +399,5 @@ int glutLayerGet(GLenum type) { #endif // -// End of "$Id: glut_compatability.cxx,v 1.4 1999/01/07 19:17:46 mike Exp $". +// End of "$Id: glut_compatability.cxx,v 1.4.2.1 1999/03/18 20:04:13 bill Exp $". // |
