diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | FL/glut.H | 2 | ||||
| -rw-r--r-- | src/glut_compatability.cxx | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ CHANGES IN FLTK 1.1.8 + - Added missing "const" to GLUT call (STR #1371) - Fixed stray FL_RELEASE events after clicking system areas on OS X (STR #1376) - Fl_Tabs::value() is now "const" as described in the @@ -117,7 +117,7 @@ FL_EXPORT void glutInitWindowSize(int w, int h); FL_EXPORT void glutMainLoop(); -FL_EXPORT int glutCreateWindow(char *title); +FL_EXPORT int glutCreateWindow(const char *title); FL_EXPORT int glutCreateSubWindow(int win, int x, int y, int width, int height); diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index 0a25478b1..71aeb73ba 100644 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -220,7 +220,7 @@ void glutInitWindowSize(int w, int h) { initw = w; inith = h; } -int glutCreateWindow(char *title) { +int glutCreateWindow(const char *title) { Fl_Glut_Window *W; if (initpos) { W = new Fl_Glut_Window(initx,inity,initw,inith,title); |
