diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-08-17 13:49:46 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-08-17 13:49:46 +0000 |
| commit | 2f4706602d53a964661a398d8774e95bdb09e044 (patch) | |
| tree | fa86cf8500e4b912fc61891b2e2e7efe328f38cd /src | |
| parent | 49a06939622941edbfa2e153d9cfb614037da58d (diff) | |
Fixed ABI issue with const on glutCreateWindow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/glut_compatability.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index b2acfdec4..90d2d80ca 100644 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -220,6 +220,10 @@ void glutInitWindowSize(int w, int h) { initw = w; inith = h; } +int glutCreateWindow(char *title) { + return glutCreateWindow((const char*)title); +} + int glutCreateWindow(const char *title) { Fl_Glut_Window *W; if (initpos) { |
